3 ms·
Ah yes, monadic programming, liked by no one but championed by those who probably have never really had to do it. OCaml does state without monads the way it do
by voxl 5y ago
Ah yes, monadic programming, liked by no one but championed by those who probably have never really had to do it.
OCaml does state without monads the way it does for a reason, because working with monads is a massive headache.
- pyrale 5y agoYou work with monads all day long, you just don't think about them as such. There is no such thing as "monadic programing", even in Haskell. The thing making haskellers harp about monads is that the std lib went a bit far in making sure that every fitting data structure implements the monad interface, which includes IO.