[Haskell-beginners] "sleep" in Haskell

Michael Mossey mpm at alumni.caltech.edu
Wed Oct 14 19:14:45 EDT 2009


Hmm, I can't find anything like this. Do you have any other ideas?

Joe Fredette wrote:
> 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