3 ms·
Unfortunately, while Haskell monads can handle multi-exit logic, it is not enforced as a built-in primitive. I've read and re-read the first page of Google res
by mikermcneil 12y ago
Unfortunately, while Haskell monads can handle multi-exit logic, it is not enforced as a built-in primitive.
I've read and re-read the first page of Google results about monads at least ten times, and I never really "got" it. Maybe I'm just dumb- but it seems to me that the problem remains unsolved.
- codygman 12y agoIgnore them all, use these: http://blog.sigfpe.com/2006/08/you-could-have-invented-monads-and.html http://blog.sigfpe.com/2006/08/you-could-have-invented-monad... http://homepages.inf.ed.ac.uk/wadler/papers/marktoberdorf/baastad.pdf http://homepages.inf.ed.ac.uk/wadler/papers/marktoberdorf/ba... http://blog.jle.im/entry/io-monad-considered-harmful http://blog.jle.im/entry/io-monad-considered-harmful