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

Moduletf-random-0.5Haskell98

System.Random.TF

This module exports System.Random.TF.Gen and System.Random.TF.Init modules without exporting the alternative RandomGen class from System.Random.TF.Gen. To use this class and the Random instances written for it, please import System.Random.TF.Gen and System.Random.TF.Instances directly.

Synopsis
  • Packagetf-random-0.5
  • Exports6
  • LanguageHaskell98
  • LicenceBSD-3-Clause
  • SourceTF.hs
datadata TFGen

The generator type

Instances4Read, Show, RandomGen
  • Read TFGenDefined in tf-random-0.5 · System.Random.TF.Gen
  • Show TFGenDefined in tf-random-0.5 · System.Random.TF.Gen
  • RandomGen TFGenDefined in tf-random-0.5 · System.Random.TF.Gen
  • RandomGen TFGenDefined in tf-random-0.5 · System.Random.TF.Gen
valuenewTFGen :: IO TFGen

Derive a new generator instance from the global RNG using split. This is the default way of obtaining a new RNG instance. Initial generator is seeded using mkSeedUnix on UNIX, and mkSeedTime otherwise. This should be eventually replaced with proper seeding.