Created
August 11, 2011 13:15
-
-
Save akiradeveloper/1139614 to your computer and use it in GitHub Desktop.
The power of Applicative Functor
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
Prelude Control.Applicative> let x = (++) <$> getLine <*> getLine | |
Prelude Control.Applicative> x | |
akira | |
developer | |
"akiradeveloper" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is also the power of Applicative.