A type class for random generator implementations.
Note that this library only provides the MonadGen
type class; it does not provide any implementations of it. The intention is that libraries may depend on purescript-gen
in order to provide functions for random generation of any data types they define while also keeping their dependency footprints minimal, and not tying users to any specific random generation library (since any library implementing random generation of values should be able to implement the MonadGen
interface).
spago install gen
Module documentation is published on Pursuit.