[Haskell-beginners] "sleep" in Haskell

Joe Fredette jfredett at gmail.com
Wed Oct 14 16:51:50 EDT 2009

As I recall, System.Thread (or something similar) provides  
"threadSleep". A quick hoogle ought to find it.

hoogle -> haskell.org/hoogle

On Oct 14, 2009, at 4:50 PM, Michael Mossey wrote:

> I can't find a "sleep" function in Haskell. This relates to my wish  
> to use PortMidi and control the timing of actions. Maybe there is  
> another way to do this sort of thing in Haskell. Can anyone help,  
> either with PortMidi or just a general explanation of how IO  
> operations could be placed at certain points in time?
> Thanks,
> Mike
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners

More information about the Beginners mailing list