Re:What Is Good About Haskell?
by johnday on Friday October 04, 2019 @10:10AM
(#21157862)
Yes, but as I was saying logging, errors and so on can all be handled directly inside of IO. Given that you can't do any of these things in a pure function anyway, the only loss of dropping into the wider context of IO is type safety.
All of which tend to introduce monads.
When you have multiple moands on the go you need some combining them.