fake-0.1.2: Randomly generated fake data
Safe HaskellNone
LanguageHaskell2010

Fake

Synopsis

Documentation

module Fake.Class

module Fake.Cover

newtype FGen a Source #

Constructors

MkFGen 

Fields

Instances

Instances details
Monad FGen Source # 
Instance details

Defined in Fake.Types

Methods

(>>=) :: FGen a -> (a -> FGen b) -> FGen b #

(>>) :: FGen a -> FGen b -> FGen b #

return :: a -> FGen a #

Functor FGen Source # 
Instance details

Defined in Fake.Types

Methods

fmap :: (a -> b) -> FGen a -> FGen b #

(<$) :: a -> FGen b -> FGen a #

Applicative FGen Source # 
Instance details

Defined in Fake.Types

Methods

pure :: a -> FGen a #

(<*>) :: FGen (a -> b) -> FGen a -> FGen b #

liftA2 :: (a -> b -> c) -> FGen a -> FGen b -> FGen c #

(*>) :: FGen a -> FGen b -> FGen b #

(<*) :: FGen a -> FGen b -> FGen a #

generate :: FGen a -> IO a Source #

Run a generator to generate a random value in the IO monad.

module Fake.Utils