Re:Monads Schmonads: Functional Input Without Tears (PYFL)
by goto11 on Monday May 24, 2021 @03:51AM
(#27261966)
This is beside the point. Haskell have a number of built-in unpure operations like putStrLn. You can use the built-in IO type to execute these unpure operations.
If you define your own type called IO you can't use it to execute unpure operations.
If you define your own type called IO you can't use it to execute unpure operations.