4 ms·
My advice for Haskell("monad") beginners would be to try to re-implement the("a") State monad by yourself without using any libraries. It helped me understand t
by noncoml 8y ago
My advice for Haskell("monad") beginners would be to try to re-implement the("a") State monad by yourself without using any libraries. It helped me understand that monads are nothing more than just function composition.
- raffael-vogler 8y agoAt this very moment I am checking the applicative and monad laws for the state applicative / monad discussed in Hutton's book. Wish me luck ...
- DonaldPShimoda 8y agoI like "Functors, Applicatives, and Monads in Pictures" [0] as a gentle introduction to the concepts. Same revelation as yours, but through a different vehicle. [0] http://adit.io/posts/2013-04-17-functors,_applicatives,_and_monads_in_pictures.html http://adit.io/posts/2013-04-17-functors,_applicatives,_and_...
- laurentl 8y agohttps://github.com/MostlyAdequate/mostly-adequate-guide https://github.com/MostlyAdequate/mostly-adequate-guide is also didactic but goes into more details, and is not Haskell-specific (IIRC functors, map and so forth are all defined in JavaScript)