2 ms·
> if you invoke these functions multiple times they will produce different results. the io monad is a pure function that produces impure code for the haskell r
by empath75 9y ago
> if you invoke these functions multiple times they will produce different results.
the io monad is a pure function that produces impure code for the haskell runtime to execute (this isn't exactly accurate, but i think is an okay way to think about it). It will always produce the same impure code, and so is itself pure.
- dmitriid 9y agoRiight. The "Platonic ideal" again. "It's not the language it's the runtime!"