Created
January 17, 2012 22:28
-
-
Save diegopacheco/1629404 to your computer and use it in GitHub Desktop.
Higher Order Functions in Haskell
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
| map (+1) [1, 2, 3, 4, 5] -- [2,3,4,5,6] | |
| map succ [1, 2, 3, 4, 5] -- [2,3,4,5,6] | |
| filter (>3) [1,5,3,2,1,6,4,3,2,1] -- [5,6,4] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment