purescript-0.11.5: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell2010

Control.Monad.Supply.Class

Description

A class for monads supporting a supply of fresh names

Documentation

class Monad m => MonadSupply m where #

Methods

fresh :: m Integer #

peek :: m Integer #

fresh :: (MonadTrans t, MonadSupply n, m ~ t n) => m Integer #

peek :: (MonadTrans t, MonadSupply n, m ~ t n) => m Integer #

Instances