News for hackers. Stuff that matters.
Re:Monads for functional programming (1995) [pdf] by KirinDave on Monday May 07, 2018 @01:26AM (#17010576)
You might start with PureScript, which is much smaller and runs in browsers and on Node.

There's also Idris if you want to see what driving a not-quite-complete future hovercar is like.

Re:Monads for functional programming (1995) [pdf] by chadcmulligan on Monday May 07, 2018 @02:23AM (#17010730)
thanks, think I'm starting to see, so with one sort of Monad I can chain a bunch of functions together and carry along things like an error value (or a null), and just skip out of the chain if an error occurs but without worrying about a bunch of if tests. That seems useful :-). The do syntax makes the chaining a lot more friendly than in other languages.