2 ms·
Haskell is a framework that takes a monad interface implementation and performs IO based on it. The monad in question is used like a self flattening iterator /
by Jensson 5y ago
Haskell is a framework that takes a monad interface implementation and performs IO based on it. The monad in question is used like a self flattening iterator / generator, and together with lazy evaluation it can function like a regular program even though the monad itself is implemented using pure functions.