News for hackers. Stuff that matters.
Re:What Is Good About Haskell? by amelius on Thursday October 03, 2019 @06:55AM (#21145584)
It's the other way around. Haskell is good at plumbing, while real algorithms are better done in a fast low-level language.
Re:What Is Good About Haskell? by gowld on Thursday October 03, 2019 @10:00AM (#21147000)
Haskell is good at plumbing in research programs, not in production systems that require monad transformers or extensible effects.
Re:What Is Good About Haskell? by johnday on Thursday October 03, 2019 @10:29AM (#21147372)
No system requires monad transformers or extensible effects. In some cases they become useful, particularly when dealing with unusual computational contexts; but most of the time you can use IO, and sacrifice the sharpest edge of type-safety for an easier job of plumbing.
Re:What Is Good About Haskell? by UK-Al05 on Thursday October 03, 2019 @04:26PM (#21151781)
In the real world, you end up with logging, ways of progating errors, etc

All of which tend to introduce monads.

When you have multiple moands on the go you need some combining them.

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.