[Haskell-cafe] DeepSeq and random generators

Wolfgang Jeltsch wolfgang-it at jeltsch.info
Wed Jul 19 20:22:21 UTC 2017


Am Dienstag, den 18.07.2017, 11:40 +0200 schrieb Jonas Scholl:
> StdGen only contains two strict ints, so forcing it to WHNF is
> equivalent to HNF.

The rnf function reduces to normal form (NF), not head normal form
(HNF).

All the best,
Wolfgang


More information about the Haskell-Cafe mailing list