[Haskell-cafe] threadDelay delays less time than expected (Windows)

Yitzchak Gale gale at sefer.org
Wed Dec 28 19:46:44 UTC 2016


Tom wrote:
> (86400000000 :: Integer) > (fromIntegral (maxBound :: Int))
>
> If True, your machine (32-bit?) is probably overflowing the Int

Good point. Even if False on Lian's Windows machine, it could
be there is some 32-bit value somewhere in the Windows
implementation that causes this.

Yitz


More information about the Haskell-Cafe mailing list