Hacker News new | ask | show | jobs
by epgui 1303 days ago
Monads are only complicated if you have to unlearn stuff. You've probably written a ton of monads by accident, regardless of what language you use.
2 comments

exactly, I finally got them when looking at examples in other languages. I never could shake the interest off because I caught a glimpse of god when trying haskell. The language didn't stick on me but I always miss haskell monads.
List comprehensions in multiple languages, LINQ in .NET, all monads.
And all the Computation Expressions in .NET (including the ones you build yourself) are monads.