3 ms·
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 suspend
by gregwebs 13y ago
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.