sleeping

Sven Panne Sven.Panne at informatik.uni-muenchen.de
Mon Oct 27 19:01:31 EST 2003


Hal Daume III wrote:
> You can use the timeout function
>   
> http://www.haskell.org/pipermail/glasgow-haskell-users/2001-April/001816.html
> 
> and simply wait for the exception.

Hmmm, this will trade an OS dependency for a dependency on GHC, not really
an attractive option...

> or, if you require less precision, you could just loop and check the 
> System.Time until a certain amount of time has elapsed. [...]

:-P * * *

Cheers,
    S.




More information about the Libraries mailing list