coda-0.0.1: The coda compiler

Safe HaskellNone
LanguageHaskell2010

Coda.Syntax.Name

Documentation

data Name Source #

Bundled Patterns

pattern QVarId :: Text -> Text -> Name 
pattern QConId :: Text -> Text -> Name 
pattern QVarOp :: Text -> Text -> Name 
pattern QConOp :: Text -> Text -> Name 
pattern VarId :: Text -> Name 
pattern ConId :: Text -> Name 
pattern VarOp :: Text -> Name 
pattern ConOp :: Text -> Name 

Instances

Eq Name Source # 

Methods

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

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

Data Name Source # 

Methods

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

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

toConstr :: Name -> Constr #

dataTypeOf :: Name -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Name Source # 

Methods

compare :: Name -> Name -> Ordering #

(<) :: Name -> Name -> Bool #

(<=) :: Name -> Name -> Bool #

(>) :: Name -> Name -> Bool #

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

max :: Name -> Name -> Name #

min :: Name -> Name -> Name #

Read Name Source # 
Show Name Source # 

Methods

showsPrec :: Int -> Name -> ShowS #

show :: Name -> String #

showList :: [Name] -> ShowS #

Generic Name Source # 

Associated Types

type Rep Name :: * -> * #

Methods

from :: Name -> Rep Name x #

to :: Rep Name x -> Name #

HasQualifier Name Text Source # 

Methods

qualifier :: Traversal' Name Text Source #

HasOperator Name Bool Source # 

Methods

operator :: Lens' Name Bool Source #

HasIdent Name Text Source # 

Methods

ident :: Lens' Name Text Source #

HasConstructor Name Bool Source # 

Methods

constructor :: Lens' Name Bool Source #

type Rep Name Source # 

class HasOperator s a | s -> a where Source #

Minimal complete definition

operator

Methods

operator :: Lens' s a Source #

Instances

class HasConstructor s a | s -> a where Source #

Minimal complete definition

constructor

Methods

constructor :: Lens' s a Source #

class HasIdent s a | s -> a where Source #

Minimal complete definition

ident

Methods

ident :: Lens' s a Source #

Instances

class HasQualifier s a | s -> a where Source #

Minimal complete definition

qualifier

Methods

qualifier :: Traversal' s a Source #

Instances