[Haskell-cafe] Hoogling to no avail ...
Thomas DuBuisson
thomas.dubuisson at gmail.com
Thu Mar 19 17:49:10 EDT 2009
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 <vigalchin at gmail.com>:
> 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
More information about the Haskell-Cafe
mailing list