Re:Monads Schmonads: Functional Input Without Tears (PYFL)
by bitwize on Sunday May 23, 2021 @06:42PM
(#27259311)
Monads don't make side effects in I/O go away, but they do help you manage them. Crucially, the IO monad describes a computation which must then be run. Computations are describable in side-effect-free code. Running them is handled automatically by the Haskell runtime, and can be done without introducing side effects into the language.
[ Parent
| on HN ]
There are no comments on this comment yet.