3 ms·
Monads are a hack (http://catb.org/jargon/html/H/hack.html http://catb.org/jargon/html/H/hack.html) more in sense 2, not in sense 1. 1. n. Originally, a quic
by eru 17y ago
Monads are a hack (http://catb.org/jargon/html/H/hack.html http://catb.org/jargon/html/H/hack.html) more in sense 2, not in sense 1.
1. n. Originally, a quick job that produces what is needed, but not well.
2. n. An incredibly good, and perhaps very time-consuming, piece of work that produces exactly what is needed.
- dons 17y agoThey're also precisely the foundations of different notions of computation -- what we mean by ';' in an imperative language. So if math is a hack, then yeah. http://portal.acm.org/citation.cfm?id=116984 http://portal.acm.org/citation.cfm?id=116984 Go read Moggi.
- eru 17y ago> They're also precisely the foundations of different notions of computation Depends. Monads are too linear, in a sense, to express some computations. Arrows express some things better.