fake-0.1.1: Randomly generated fake data
Fake
Synopsis
module Fake.Class
module Fake.Combinators
module Fake.Cover
newtype FGen a Source #
Constructors
Fields
Instances
Methods
(>>=) :: FGen a -> (a -> FGen b) -> FGen b #
(>>) :: FGen a -> FGen b -> FGen b #
return :: a -> FGen a #
fail :: String -> FGen a #
fmap :: (a -> b) -> FGen a -> FGen b #
(<$) :: a -> FGen b -> FGen a #
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