[Haskell-cafe] Concurrent Haskell Actions with Timeout

Cetin Sert cetin.sert at gmail.com
Sat May 30 16:44:58 EDT 2009

Hi how could one implement a function in concurrent haskell that either
returns 'a' successfully or due timeout 'b'?

timed :: Int → IO a → b → IO (Either a b)
timed max act def = do

Best Regards,
Cetin Sert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090530/7d28a91e/attachment.html

More information about the Haskell-Cafe mailing list