
7 Apr
2011
7 Apr
'11
9:23 p.m.
Paul Johnson
The "base" library has the "threadDelay" primitive, which takes an Int argument in microseconds.
I always end up with a wrapper around it, taking a NominalDiffTime; I could never be sure whether threadDelay interpreted its argument as milli-/micro-/nano-seconds without looking it up. For lack of Data.Time in base, how about Data.Fixed.Pico? Cheers, /Liyang