ajhc-0.8.0.5: Haskell compiler that produce binary through C language

Safe HaskellNone

Name.Id

Synopsis

Documentation

data IdNameT m a Source

Name monad transformer.

va1 :: IdSource

some convinience anonymous ids

va2 :: IdSource

some convinience anonymous ids

va3 :: IdSource

some convinience anonymous ids

va4 :: IdSource

some convinience anonymous ids

va5 :: IdSource

some convinience anonymous ids

sillyId :: IdSource

A occasionally useful random ethereal id

isInvalidId :: Id -> BoolSource

id isn't anonymous or atom-mapped

idSetToIdMap :: (Id -> a) -> IdSet -> IdMap aSource

mapMaybeIdMap :: (a -> Maybe b) -> IdMap a -> IdMap bSource

idMapToList :: IdMap a -> [(Id, a)]Source

newIds :: IdSet -> [Id]Source

find some temporary ids that are not members of the set, useful for generating a small number of local unique names.

newIdSource

Arguments

:: Int

a seed value, useful for speeding up finding a unique id

-> (Id -> Bool)

whether an Id is acceptable

-> Id

your new Id

fromId :: Monad m => Id -> m NameSource

runIdNameT :: Monad m => IdNameT m a -> m (a, IdSet)Source

Run the name monad transformer.