One of my Haskell students just asked me the question we all dread… “I don’t think I quite get monads”
-
-
"a monad is an interface with two methods"
#tweetyourmonadtutorial -
you'd think this hashtag would be trending by now ;)
- 2 more replies
New conversation -
-
-
Monads are subqueries. Imagine a type Query[R]. Subquery operation naturally has signature of flatMap.
#tweetyourmonadtutorialThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
The best one i’ve heard is “monad is an adjective”. Kind of like “m a” is a data-dependency-aware flavor of “a”.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I love the burrito "tutorial" :D http://chrisdone.com/posts/monads-are-burritos …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I like that a lot. a -> m b as "a function from sthg to a way of getting sthg else" "way of getting" ~= "notion of computation"
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.