Re:Haskell Concepts in One Sentence
by Tarean on Sunday March 26, 2017 @04:44AM
(#13959823)
I think an easier to understand definition uses fmap and join. Example:
So the pattern is fmap a function `a -> f b`; this leaves us with `f (f b)` so we flatten. You might notice that we could bind as often as we want since we always get a list of integers!
[ Parent
| on HN ]