Logo

Programming-Idioms

History of Idiom 45 > diff from v17 to v18

Edit summary for version 18 by :

Version 17

2015-08-25, 20:15:39

Version 18

2015-09-03, 13:55:55

Idiom #45 Pause execution for 5 seconds

Sleep for 5 seconds in current thread, before proceeding with next instructions.

Idiom #45 Pause execution for 5 seconds

Sleep for 5 seconds in current thread, before proceeding with next instructions.

Code
Control.Concurrent.threadDelay 5000000
Doc URL
http://hackage.haskell.org/package/base/docs/Control-Concurrent.html#v:threadDelay