HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulecriterion-1.6.5.0Haskell2010

Criterion.Monad

The environment in which most criterion code executes.

Synopsis
newtypenewtype Criterion a

The monad in which most criterion code executes.

Instances10Monad, Functor, MonadFail, Applicative, MonadIO, MonadCatch, …

Return a random number generator, creating one if necessary.

This is not currently thread-safe, but in a harmless way (we might call createSystemRandom more than once if multiple threads race).