language-dickinson-1.4.3.0: A language for generative literature
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Dickinson.Unique

Synopsis

Documentation

newtype Unique Source #

For interning identifiers.

Constructors

Unique 

Fields

Instances

Instances details
Data Unique Source # 
Instance details

Defined in Language.Dickinson.Unique

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Unique -> c Unique #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Unique #

toConstr :: Unique -> Constr #

dataTypeOf :: Unique -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Unique) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Unique) #

gmapT :: (forall b. Data b => b -> b) -> Unique -> Unique #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Unique -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Unique -> r #

gmapQ :: (forall d. Data d => d -> u) -> Unique -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Unique -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Unique -> m Unique #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Unique -> m Unique #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Unique -> m Unique #

Show Unique Source # 
Instance details

Defined in Language.Dickinson.Unique

Binary Unique Source # 
Instance details

Defined in Language.Dickinson.Unique

Methods

put :: Unique -> Put #

get :: Get Unique #

putList :: [Unique] -> Put #

NFData Unique Source # 
Instance details

Defined in Language.Dickinson.Unique

Methods

rnf :: Unique -> () #

Eq Unique Source # 
Instance details

Defined in Language.Dickinson.Unique

Methods

(==) :: Unique -> Unique -> Bool #

(/=) :: Unique -> Unique -> Bool #

Ord Unique Source # 
Instance details

Defined in Language.Dickinson.Unique

Pretty Unique Source # 
Instance details

Defined in Language.Dickinson.Unique

Methods

pretty :: Unique -> Doc ann #

prettyList :: [Unique] -> Doc ann #

dummyUnique :: Unique Source #

Dummy unique for sake of testing