Module

Random.PseudoRandom

Package
purescript-pseudo-random
Repository
opyapeus/purescript-pseudo-random

#RandomPair Source

type RandomPair a = { newSeed :: Seed, newVal :: a }

#Random Source

class (Ord a) <= Random a  where

Members

Instances

#Randoms Source

class (Random a) <= Randoms a  where

Members

Instances

#RandomEff Source

class (Random a) <= RandomEff a  where

Members

Instances

Re-exports from Random.LCG

#Seed Source

newtype Seed

A seed for the linear congruential generator. We omit a Semiring instance because there is no zero value, as 0 is not an acceptable seed for the generator.

Instances

#unSeed Source

#randomSeed Source

randomSeed :: Effect Seed

Create a random seed

#mkSeed Source