Skip to content

Control.Concurrent.threadDelay is in microseconds contrary to documentation

The documentation for Control.Concurrent.threadDelay says it waits the number of specified milliseconds (1000 milliseconds = 1 second) but you need to specify 1000000 to get it to wait a single second, which would indicate it is actually accepting microseconds (1,000,000 microseconds = 1 second).

Trac metadata
Trac field Value
Version 6.12.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Documentation
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information