4 ms·
It's not any worse than IO in other languages, which is the original topic.
by Peaker 14y ago
It's not any worse than IO in other languages, which is the original topic.
- eru 14y agoLazy IO, which is what you get by default, if you just learn the language and use the Prelude, is worse than what you get in C.
- Peaker 14y agoSo Haskell makes IO harder by making you learn which modules use lazy I/O and avoid them? I can agree with that. But I don't think that's what people generally try to say when they claim IO in Haskell is hard or bad. People think the IO/effect segregation in Haskell makes IO bad or hard, when it's in fact just the opposite.