News for hackers. Stuff that matters.
Re:The Monad Challenges: Jump start your understanding of mo... by rntz on Tuesday January 19, 2016 @08:59PM (#10935563)
It's true that you don't need to know Haskell in order to learn about monads, but Haskell is a perfectly reasonable language in which to write a monad introduction.

Haskell is good for learning about monads for the same reasons monads tend to be heavily used in Haskell, but not in other languages. Monads are both part of Haskell's standard library, and have very useful special syntax (do-notation). Writing out monadic code explicitly gets to be a huge pain when using monads in another language. Typeclasses also make it convenient & easy to write code that's generic over any monad.

Re:The Monad Challenges: Jump start your understanding of mo... by imh on Tuesday January 19, 2016 @10:35PM (#10935904)
>Writing out monadic code explicitly gets to be a huge pain when using monads in another language.

Couldn't any other language have a syntax like

    thing.do(\x -> other thing(x)).do(
    \x -> yet another thing(x)).do(
    a function).do(
    more stuff).do(
    etc)
And then replace "\x -> whatever" with the local language's lambda syntax. The only time you get the painful nested parens is if you want

    thing.do(
    \x -> f(x).do(
    \y -> g(x,y)))
It's not too terribly bad.
Re:The Monad Challenges: Jump start your understanding of mo... by ash on Wednesday January 20, 2016 @02:47AM (#10936575)
Like JavaScript Promises?