News for hackers. Stuff that matters.
Re:Why the world needs Haskell by spullara on Tuesday July 09, 2013 @08:06PM (#6016537)
I would love to use Haskell for the algorithmic part of my code and some other language for the rest of it. I think that is what he is trying to get across. Just get rid of the IO monad and allow only call calls to Haskell from this other language — similar separation but without all the weirdness (IMHO).
Re:Why the world needs Haskell by Tuna-Fish on Tuesday July 09, 2013 @09:00PM (#6016764)
Umm, doesn't Haskell sort of provide this with do notation? This is how programming simple things in Haskell feels like to me -- I build a lot of simple pure functions, and then bring them together in do blocks, which feel like a completely different, imperative language.
Re:Why the world needs Haskell by spullara on Wednesday July 10, 2013 @12:42AM (#6017488)
The fact that you have to use the IO monad, to me, feels like something completely ugly and different from what I get from haskell algorithm wise. IMHO.
Re:Why the world needs Haskell by chongli on Wednesday July 10, 2013 @09:29AM (#6019313)
I happen to find the IO monad incredibly beautiful and elegant. Haskell lets me define my own control structures for combining IO actions in a far more powerful and elegant manner than other languages.