
Hello, I need sleep briefly(1/2 seconds) in code that I have written. I tried searching for "sleep" and "wait" in Hoogle and either didn't get a hit or got something inappropriate. ?? Regards, Vasili

In general, if you can't find what you seek due to terminology
differences then search based on what you expect the type to be. In
this case you want to provide a measure of time (Ints are common) and
have it perform some sort of IO action:
Int -> IO ()
It just so happens that the first result is the correct results:
threadDelay from Control.Concurrent.
Thomas
2009/3/19 Galchin, Vasili
Hello,
I need sleep briefly(1/2 seconds) in code that I have written. I tried searching for "sleep" and "wait" in Hoogle and either didn't get a hit or got something inappropriate. ??
Regards, Vasili
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (2)
-
Galchin, Vasili
-
Thomas DuBuisson