[Haskell-beginners] "sleep" in Haskell

Michael Mossey mpm at alumni.caltech.edu
Wed Oct 14 16:58:00 EDT 2009


Hi Philippa,

I think you have the right idea, and I want to try that too, but right now 
I'm using a kind of scattershot approach to try and learn everything I can, 
both about MIDI and Haskell in general. Since nothing is currently working, 
getting anything to work would be a learning experience.

Thanks,
Mike

Philippa Cowderoy wrote:
> 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?
>>
> 
> Y'know, I can't think of a single language where I'd consider using the 
> sleep function to time MIDI output. It's normally done with buffered 
> I/O. I don't know PortMidi, though.
> 


More information about the Beginners mailing list