4 ms·
> I still am not sure I truly understand what a Monad is but I can see the pattern and use it as a tool. It feels more constrained at first but it brings order
by YourDadVPN 4y ago
> I still am not sure I truly understand what a Monad is but I can see the pattern and use it as a tool. It feels more constrained at first but it brings order to chaos.
Ha, I learned Haskell over 6 years ago and I still can't explain what a monad is other than in programming terms. It's a container which defines two operations: put something inside the container (Haskell's "return" keyword), and chain two operations on the container together (Haskell's >>= operator).
- noloblo 4y agoPls watch haskell monad https://youtu.be/_Gk_lwhJMzk https://youtu.be/_Gk_lwhJMzk And then >>= https://youtu.be/ZhuHCtR3xq8 https://youtu.be/ZhuHCtR3xq8 And then >>= https://youtu.be/t1e8gqXLbsU https://youtu.be/t1e8gqXLbsU
- Laaas 4y agoThat's because there's not much more to it. The Monad tutorial problem is entirely due to academically oriented people attempting to explain monads through category theory etc.