Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
rayanon13608yGood stuff. Even Learn You A Haskell's chapters on Functors, Applicatives and Monads are with pictures. Uncannily though, very similar pictures.
There is also Brian Beckman's Don't fear the Monad. Its a Youtube video[1] where he explains very simply and logically. It's not some monkey, banana, box analogy; it takes the more straightforward mathy approach. But its not difficult at all to understand. He does a very good job of keeping it simple and logical. Recommend it strongly to check it out.
[1] https://youtube.com/watch/... -
coookie26158y@rayanon I followed 'The craft of Functional programming' which explained Monads in a very textbook kind of way(straightforward is the term maybe) and I had to look for something better. Although I do think these two sources complement each other, as knowing Monads from the book strengthened my understanding when I looked at the boxes and other pretty pictures.
PS: It's an old book, maybe that's why it doesn't have applicatives and functors. -
ac123511477yI have a hard time in imperative language.
Just the line "a = a + 1" or some abbreviation of it just makes no sense.
Related Rants
-
dibbler6722Not a specifically dev related story, but absolutely rant worthy. Today I was working from home, and my wife ...
-
whatevel12So, today I was at my college library, working on an Haskell project that I have for my Functional Programming...
-
nzeetee7Well fuck me. Just went to my first meetUp with a group of Haskell programmers. I think they broke Enigma in ...
If you know haskell, you know the pain of learning Monads, functors and applicatives, especially when coming from imperative background.
But this guy filtered out all the witchfuckery out of this seemingly complex subject. And there are pictures.
http://adit.io/posts/...
undefined
haskell