Last active
September 15, 2017 13:21
-
-
Save kindohm/f162ce7428574e6b485cde62b765c1da to your computer and use it in GitHub Desktop.
Tidal Sample Bank Approach
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let sprefix p = with s_p (liftA2 (++) (p::Pattern String)) | |
d1 $ sprefix "track1 track2" $ s "bd sn*2" | |
d1 $ s (fmap ("track1"++) "bd sn" ) | |
d1 $ s (flip (++) <$> "bd sn*2" <*> "track1 track2") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment