9 Dec
2003
9 Dec
'03
3:18 a.m.
Ben_Yu@asc.aon.com wrote in article <OFBA77FED4.FBE4FC84-ON86256DF6.00802FA7-86256DF6.0080EF98@COMBINED.COM> in gmane.comp.lang.haskell.general:
In Ghc, how do I sleep for say, 1 minute? I'm trying to write a simple file arrival listener and could not find the sleep api. Can haskell do it at all?
Use threadDelay from the Control.Concurrent package. -- Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig International Human Rights Day * 2003-12-10 * http://www.un.org/rights/ What if All Chemists Went on Strike? (science fiction) http://www.iupac.org/publications/ci/2003/2506/iw3_letters.html