Created
March 18, 2016 23:54
-
-
Save gdejohn/762b1312d9aa9a86f468 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
mapEveryNth n f = zipWith ($) $ tail $ cycle $ f : replicate (n - 1) id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment