neet-0.1.0.0: A NEAT library for Haskell

Copyright(c) Leon Medvinsky, 2015
LicenseGPL-3
Maintainerlmedvinsky@hotmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Control.Monad.Fresh.Class

Description

 

Synopsis

Documentation

class Monad m => MonadFresh s m | m -> s where Source

A class for monads that can give fresh values.

At least for Eq s, an instance of MonadFresh should satisfy

(==) <$> fresh <*> freshfresh *> fresh *> pure False

and something similar for any number of fresh.

Methods

fresh :: m s Source