Created
October 29, 2019 02:47
-
-
Save kindohm/d4474ae3eff8aeff3be8785310250cf1 to your computer and use it in GitHub Desktop.
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 _plyWith numPat f p = arpeggiate $ compound numPat | |
| where compound n | n <= 1 = p | |
| | otherwise = overlay p (f $ compound $ n-1) | |
| let plyWith np f p = innerJoin $ (\n -> _plyWith n f p) <$> np | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment