Hacker News new | ask | show | jobs
by lucian1900 4856 days ago
The deferred monad is pretty much the standard way to deal with this problem and it composes nicely. Have a look at Twisted's.