ghc-8.2.1.20171108: The GHC API

Safe HaskellNone
LanguageHaskell2010

SimplMonad

Synopsis

Documentation

data SimplM result Source #

Instances

class Monad m => MonadUnique m where Source #

A monad for generating unique identifiers

Minimal complete definition

getUniqueSupplyM

Methods

getUniqueSupplyM :: m UniqSupply Source #

Get a new UniqueSupply

getUniqueM :: m Unique Source #

Get a new unique identifier

getUniquesM :: m [Unique] Source #

Get an infinite list of new unique identifiers