Created
May 21, 2019 15:00
-
-
Save kanian/656904d3951a022d45ac267bcd690c6f to your computer and use it in GitHub Desktop.
This file contains 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
function cycleThroughPattern(xs,n){ | |
return take(n,cycle(xs)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment