Re:Bluebird in the wild: Advanced promise-based workflows
by adrusi on Tuesday April 19, 2016 @11:00AM
(#11527448)
Treating callbacks as monads is literally the definition of promises. If that code does the same thing it did in 2011 when I last looked at livescript, that's not treating callbacks as monads, thats just borrowing a syntax that Haskell uses for monads and using it for callbacks.
In liveScript
do
you can combine that with co-routines to create really powerful abstractions, without the massive memory footprint of promises.