3 ms·
Oh, sure you can, you just need a side-effects monad. They're plentiful in the hardware world....
by PeterWhittaker 11y ago
Oh, sure you can, you just need a side-effects monad. They're plentiful in the hardware world....
- danieldk 11y agoA 'side-effecting' monad is also pure ;): http://chris-taylor.github.io/blog/2013/02/09/io-is-not-a-side-effect/ http://chris-taylor.github.io/blog/2013/02/09/io-is-not-a-si...