Last active
May 31, 2018 06:23
-
-
Save scalolli/9f7836123b77f10ac43d72ca3a08bf09 to your computer and use it in GitHub Desktop.
Functor and Applicatives for Functions
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
fmap (*2) (+1) $ 1 | |
so that returns 4 | |
But why can I not do | |
(fmap (*2) (+)) 1 2 ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment