5 ms·
It's been a while since I last used Haskell but I remember its I/O story actually being pretty good. The fact that I/O must happen in the IO monad doesn't preve
by caconym_ 10y ago
It's been a while since I last used Haskell but I remember its I/O story actually being pretty good. The fact that I/O must happen in the IO monad doesn't prevent you from doing it; it just gives you better tools to reason about it.
I wish Haskell "advocates" would give it a rest with banging the "purity" drum and tossing out gee-whiz examples of "elegant" code with no relevance to practical programming. I found it to be a very practical language, not without flaws, but also with powerful arguments in its favor for certain sorts of applications.
- codygman 10y agoI upvoted you for the IO part of your comment, but contend purity is a very big feature. More focus needs to be on reasoning about real world tasks where is needed though.