News for hackers. Stuff that matters.
Re:ToffeeScript – CoffeeScript with async syntax and some ad... by MichaelGG on Saturday October 26, 2013 @09:42AM (#6617355)
Is this just like C#'s async, F#'s mon^H^H^H workflows aka computation expressions, Haskell's do notation?
Re:ToffeeScript – CoffeeScript with async syntax and some ad... by gregwebs on Saturday October 26, 2013 @10:00AM (#6617404)
Not at all in the case of Haskell whose IO is automatically async. You write IO in a normal blocking style and your current thread will automatically be suspended and resumed. You are just required to do it in the IO monad since the language is pure.