3 ms·
Well yeah, making a function return operations instead of having side effects is basically the whole rationale behind the IO () Monad.
by contravariant 7y ago
Well yeah, making a function return operations instead of having side effects is basically the whole rationale behind the IO () Monad.