Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Random m a where
- random :: forall x. Random x => forall r. Member Random r => Sem r x
- randomR :: forall x. Random x => forall r. Member Random r => (x, x) -> Sem r x
- runRandom :: forall q r a. RandomGen q => q -> Sem (Random ': r) a -> Sem r (q, a)
- runRandomIO :: Member (Lift IO) r => Sem (Random ': r) a -> Sem r a