Stop using "Int" for microsecond delays in "base"

Bas van Dijk v.dijk.bas at gmail.com
Sun Mar 27 11:21:14 CEST 2011


On 27 March 2011 11:15, Paul Johnson <paul at cogito.org.uk> wrote:
> 2: I actually want to use timeout, which inherits the same limitation.
>  Right now it looks like the simplest thing to do would be to copy the
> existing timeout code but use "waitLong" instead of "wait".  But I shouldn't
> have to do that.

concurrent-extra to the rescue again:

http://hackage.haskell.org/packages/archive/concurrent-extra/0.6.0.1/doc/html/Control-Concurrent-Timeout.html

But note that I may move this to its own package soon (as in later today).

Bas



More information about the Libraries mailing list