News for hackers. Stuff that matters.
Re:Category Theory Illustrated – Natural Transformations by Twey on Wednesday October 01, 2025 @09:24AM (#45437432)
I'd phrase this a tiny bit differently: monads give a model of effects in _impure_ languages and are important for that reason. The fact that Haskell chooses to emphasize monads in the language itself is cool, but their utility is not restricted to pure functional languages; quite the opposite! In a pure functional language you don't need to think about effects at all, and the only model you need is mathematical functions, which are much simpler.

There are no comments on this comment yet.