[Haskell-beginners] "sleep" in Haskell

Joe Fredette jfredett at gmail.com
Wed Oct 14 17:00:07 EDT 2009

 >> Second reply to the same email, completely off topic.

MIDI + Haskell = Computer Music, I'm already excited to see results,  
make sure you put stuff on hackage!


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

> 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.
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners

More information about the Beginners mailing list