4 ms·
If you're going to talk like that, stay far, far away from anyone who is trying to learn monads. I assert that most people coming to Haskell do so because "I h
by AnimalMuppet 11y ago
If you're going to talk like that, stay far, far away from anyone who is trying to learn monads.
I assert that most people coming to Haskell do so because "I hear Haskell and/or FP is cool, I'll try to learn it" rather than "Category theory is so cool, wouldn't it be awesome to program that way". What you said may be true, as the theoretical foundation for why monads are useful, but for someone trying to learn to program in Haskell, what you said is the last thing they need to learn about monads.
- Chinjut 11y agoThat comment of mine wasn't the spiel I'd give to someone first trying to learn about the typical use of monads in a programming context, any more than I'd lecture a beginning programmer on the general theory of commutative rings while introducing integer and floating-point arithmetic (the latter not actually comprising a commutative ring...). But teaching the use of monads to unfamiliar programmers wasn't my goal in that comment. I was just pointing out the accurate response to "Adjunctions aren't highly relevant to programming".
- bassislife 11y agoWhat if one simply says that a monad describes a pattern of morphisms composition ? Adjunctions being the plumbing ? (honest question, just trying to find a simple, grokkable definition)
- AnimalMuppet 11y agoFair enough. There's a place here for technical accuracy all the way down.