Safe Haskell | None |
---|---|
Language | Haskell2010 |
The abstract syntax of language Syntax.
Synopsis
- type Program = Program' BNFC'Position
- data Program' a = AProgram a [Command' a]
- type Command = Command' BNFC'Position
- data Command' a
- = CommandCheck a (Term' a) (Term' a)
- | CommandCompute a (Term' a) (Term' a)
- type Term = Term' BNFC'Position
- data Term' a
- type ScopedTerm = ScopedTerm' BNFC'Position
- data ScopedTerm' a = AScopedTerm a (Term' a)
- type Pattern = Pattern' BNFC'Position
- data Pattern' a
- = PatternWildcard a
- | PatternVar a VarIdent
- | PatternPair a (Pattern' a) (Pattern' a)
- newtype VarIdent = VarIdent String
- type BNFC'Position = Maybe (Int, Int)
- pattern BNFC'NoPosition :: BNFC'Position
- pattern BNFC'Position :: Int -> Int -> BNFC'Position
- class HasPosition a where
- hasPosition :: a -> BNFC'Position
Documentation
type Program = Program' BNFC'Position Source #
Instances
Foldable Program' Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs fold :: Monoid m => Program' m -> m # foldMap :: Monoid m => (a -> m) -> Program' a -> m # foldMap' :: Monoid m => (a -> m) -> Program' a -> m # foldr :: (a -> b -> b) -> b -> Program' a -> b # foldr' :: (a -> b -> b) -> b -> Program' a -> b # foldl :: (b -> a -> b) -> b -> Program' a -> b # foldl' :: (b -> a -> b) -> b -> Program' a -> b # foldr1 :: (a -> a -> a) -> Program' a -> a # foldl1 :: (a -> a -> a) -> Program' a -> a # elem :: Eq a => a -> Program' a -> Bool # maximum :: Ord a => Program' a -> a # minimum :: Ord a => Program' a -> a # | |||||
Traversable Program' Source # | |||||
Functor Program' Source # | |||||
HasPosition Program Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs hasPosition :: Program -> BNFC'Position Source # | |||||
Data a => Data (Program' a) Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Program' a -> c (Program' a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Program' a) # toConstr :: Program' a -> Constr # dataTypeOf :: Program' a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Program' a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Program' a)) # gmapT :: (forall b. Data b => b -> b) -> Program' a -> Program' a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Program' a -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Program' a -> r # gmapQ :: (forall d. Data d => d -> u) -> Program' a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Program' a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Program' a -> m (Program' a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Program' a -> m (Program' a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Program' a -> m (Program' a) # | |||||
Generic (Program' a) Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs
| |||||
Read a => Read (Program' a) Source # | |||||
Show a => Show (Program' a) Source # | |||||
Eq a => Eq (Program' a) Source # | |||||
Ord a => Ord (Program' a) Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs | |||||
Print (Program' a) Source # | |||||
type Rep (Program' a) Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs type Rep (Program' a) = D1 ('MetaData "Program'" "Language.LambdaPi.Syntax.Abs" "lambda-pi-0.2.0-5DHIXViRYMqFeHcab75Oc" 'False) (C1 ('MetaCons "AProgram" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Command' a]))) |
type Command = Command' BNFC'Position Source #
CommandCheck a (Term' a) (Term' a) | |
CommandCompute a (Term' a) (Term' a) |
Instances
type Term = Term' BNFC'Position Source #
Var a VarIdent | |
Pi a (Pattern' a) (Term' a) (ScopedTerm' a) | |
Lam a (Pattern' a) (ScopedTerm' a) | |
App a (Term' a) (Term' a) | |
Product a (Term' a) (Term' a) | |
Pair a (Term' a) (Term' a) | |
First a (Term' a) | |
Second a (Term' a) | |
Universe a |
Instances
Foldable Term' Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs fold :: Monoid m => Term' m -> m # foldMap :: Monoid m => (a -> m) -> Term' a -> m # foldMap' :: Monoid m => (a -> m) -> Term' a -> m # foldr :: (a -> b -> b) -> b -> Term' a -> b # foldr' :: (a -> b -> b) -> b -> Term' a -> b # foldl :: (b -> a -> b) -> b -> Term' a -> b # foldl' :: (b -> a -> b) -> b -> Term' a -> b # foldr1 :: (a -> a -> a) -> Term' a -> a # foldl1 :: (a -> a -> a) -> Term' a -> a # elem :: Eq a => a -> Term' a -> Bool # maximum :: Ord a => Term' a -> a # minimum :: Ord a => Term' a -> a # | |||||
Traversable Term' Source # | |||||
Functor Term' Source # | |||||
HasPosition Term Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs hasPosition :: Term -> BNFC'Position Source # | |||||
Data a => Data (Term' a) Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Term' a -> c (Term' a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Term' a) # toConstr :: Term' a -> Constr # dataTypeOf :: Term' a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Term' a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Term' a)) # gmapT :: (forall b. Data b => b -> b) -> Term' a -> Term' a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Term' a -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Term' a -> r # gmapQ :: (forall d. Data d => d -> u) -> Term' a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Term' a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Term' a -> m (Term' a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Term' a -> m (Term' a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Term' a -> m (Term' a) # | |||||
Generic (Term' a) Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs
| |||||
Read a => Read (Term' a) Source # | |||||
Show a => Show (Term' a) Source # | |||||
Eq a => Eq (Term' a) Source # | |||||
Ord a => Ord (Term' a) Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs | |||||
Print (Term' a) Source # | |||||
type Rep (Term' a) Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs type Rep (Term' a) = D1 ('MetaData "Term'" "Language.LambdaPi.Syntax.Abs" "lambda-pi-0.2.0-5DHIXViRYMqFeHcab75Oc" 'False) (((C1 ('MetaCons "Var" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 VarIdent)) :+: C1 ('MetaCons "Pi" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Pattern' a))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term' a)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ScopedTerm' a))))) :+: (C1 ('MetaCons "Lam" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Pattern' a)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ScopedTerm' a)))) :+: C1 ('MetaCons "App" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term' a)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term' a)))))) :+: ((C1 ('MetaCons "Product" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term' a)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term' a)))) :+: C1 ('MetaCons "Pair" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term' a)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term' a))))) :+: (C1 ('MetaCons "First" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term' a))) :+: (C1 ('MetaCons "Second" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term' a))) :+: C1 ('MetaCons "Universe" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))))) |
type ScopedTerm = ScopedTerm' BNFC'Position Source #
data ScopedTerm' a Source #
AScopedTerm a (Term' a) |
Instances
Foldable ScopedTerm' Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs fold :: Monoid m => ScopedTerm' m -> m # foldMap :: Monoid m => (a -> m) -> ScopedTerm' a -> m # foldMap' :: Monoid m => (a -> m) -> ScopedTerm' a -> m # foldr :: (a -> b -> b) -> b -> ScopedTerm' a -> b # foldr' :: (a -> b -> b) -> b -> ScopedTerm' a -> b # foldl :: (b -> a -> b) -> b -> ScopedTerm' a -> b # foldl' :: (b -> a -> b) -> b -> ScopedTerm' a -> b # foldr1 :: (a -> a -> a) -> ScopedTerm' a -> a # foldl1 :: (a -> a -> a) -> ScopedTerm' a -> a # toList :: ScopedTerm' a -> [a] # null :: ScopedTerm' a -> Bool # length :: ScopedTerm' a -> Int # elem :: Eq a => a -> ScopedTerm' a -> Bool # maximum :: Ord a => ScopedTerm' a -> a # minimum :: Ord a => ScopedTerm' a -> a # sum :: Num a => ScopedTerm' a -> a # product :: Num a => ScopedTerm' a -> a # | |||||
Traversable ScopedTerm' Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs traverse :: Applicative f => (a -> f b) -> ScopedTerm' a -> f (ScopedTerm' b) # sequenceA :: Applicative f => ScopedTerm' (f a) -> f (ScopedTerm' a) # mapM :: Monad m => (a -> m b) -> ScopedTerm' a -> m (ScopedTerm' b) # sequence :: Monad m => ScopedTerm' (m a) -> m (ScopedTerm' a) # | |||||
Functor ScopedTerm' Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs fmap :: (a -> b) -> ScopedTerm' a -> ScopedTerm' b # (<$) :: a -> ScopedTerm' b -> ScopedTerm' a # | |||||
HasPosition ScopedTerm Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs | |||||
Data a => Data (ScopedTerm' a) Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ScopedTerm' a -> c (ScopedTerm' a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (ScopedTerm' a) # toConstr :: ScopedTerm' a -> Constr # dataTypeOf :: ScopedTerm' a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (ScopedTerm' a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (ScopedTerm' a)) # gmapT :: (forall b. Data b => b -> b) -> ScopedTerm' a -> ScopedTerm' a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ScopedTerm' a -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ScopedTerm' a -> r # gmapQ :: (forall d. Data d => d -> u) -> ScopedTerm' a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ScopedTerm' a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ScopedTerm' a -> m (ScopedTerm' a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ScopedTerm' a -> m (ScopedTerm' a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ScopedTerm' a -> m (ScopedTerm' a) # | |||||
Generic (ScopedTerm' a) Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs
from :: ScopedTerm' a -> Rep (ScopedTerm' a) x # to :: Rep (ScopedTerm' a) x -> ScopedTerm' a # | |||||
Read a => Read (ScopedTerm' a) Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs readsPrec :: Int -> ReadS (ScopedTerm' a) # readList :: ReadS [ScopedTerm' a] # readPrec :: ReadPrec (ScopedTerm' a) # readListPrec :: ReadPrec [ScopedTerm' a] # | |||||
Show a => Show (ScopedTerm' a) Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs showsPrec :: Int -> ScopedTerm' a -> ShowS # show :: ScopedTerm' a -> String # showList :: [ScopedTerm' a] -> ShowS # | |||||
Eq a => Eq (ScopedTerm' a) Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs (==) :: ScopedTerm' a -> ScopedTerm' a -> Bool # (/=) :: ScopedTerm' a -> ScopedTerm' a -> Bool # | |||||
Ord a => Ord (ScopedTerm' a) Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs compare :: ScopedTerm' a -> ScopedTerm' a -> Ordering # (<) :: ScopedTerm' a -> ScopedTerm' a -> Bool # (<=) :: ScopedTerm' a -> ScopedTerm' a -> Bool # (>) :: ScopedTerm' a -> ScopedTerm' a -> Bool # (>=) :: ScopedTerm' a -> ScopedTerm' a -> Bool # max :: ScopedTerm' a -> ScopedTerm' a -> ScopedTerm' a # min :: ScopedTerm' a -> ScopedTerm' a -> ScopedTerm' a # | |||||
Print (ScopedTerm' a) Source # | |||||
Defined in Language.LambdaPi.Syntax.Print | |||||
type Rep (ScopedTerm' a) Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs type Rep (ScopedTerm' a) = D1 ('MetaData "ScopedTerm'" "Language.LambdaPi.Syntax.Abs" "lambda-pi-0.2.0-5DHIXViRYMqFeHcab75Oc" 'False) (C1 ('MetaCons "AScopedTerm" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Term' a)))) |
type Pattern = Pattern' BNFC'Position Source #
PatternWildcard a | |
PatternVar a VarIdent | |
PatternPair a (Pattern' a) (Pattern' a) |
Instances
Foldable Pattern' Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs fold :: Monoid m => Pattern' m -> m # foldMap :: Monoid m => (a -> m) -> Pattern' a -> m # foldMap' :: Monoid m => (a -> m) -> Pattern' a -> m # foldr :: (a -> b -> b) -> b -> Pattern' a -> b # foldr' :: (a -> b -> b) -> b -> Pattern' a -> b # foldl :: (b -> a -> b) -> b -> Pattern' a -> b # foldl' :: (b -> a -> b) -> b -> Pattern' a -> b # foldr1 :: (a -> a -> a) -> Pattern' a -> a # foldl1 :: (a -> a -> a) -> Pattern' a -> a # elem :: Eq a => a -> Pattern' a -> Bool # maximum :: Ord a => Pattern' a -> a # minimum :: Ord a => Pattern' a -> a # | |||||
Traversable Pattern' Source # | |||||
Functor Pattern' Source # | |||||
HasPosition Pattern Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs hasPosition :: Pattern -> BNFC'Position Source # | |||||
Data a => Data (Pattern' a) Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Pattern' a -> c (Pattern' a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Pattern' a) # toConstr :: Pattern' a -> Constr # dataTypeOf :: Pattern' a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Pattern' a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Pattern' a)) # gmapT :: (forall b. Data b => b -> b) -> Pattern' a -> Pattern' a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Pattern' a -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Pattern' a -> r # gmapQ :: (forall d. Data d => d -> u) -> Pattern' a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Pattern' a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Pattern' a -> m (Pattern' a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Pattern' a -> m (Pattern' a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Pattern' a -> m (Pattern' a) # | |||||
Generic (Pattern' a) Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs
| |||||
Read a => Read (Pattern' a) Source # | |||||
Show a => Show (Pattern' a) Source # | |||||
Eq a => Eq (Pattern' a) Source # | |||||
Ord a => Ord (Pattern' a) Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs | |||||
Print (Pattern' a) Source # | |||||
type Rep (Pattern' a) Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs type Rep (Pattern' a) = D1 ('MetaData "Pattern'" "Language.LambdaPi.Syntax.Abs" "lambda-pi-0.2.0-5DHIXViRYMqFeHcab75Oc" 'False) (C1 ('MetaCons "PatternWildcard" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)) :+: (C1 ('MetaCons "PatternVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 VarIdent)) :+: C1 ('MetaCons "PatternPair" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Pattern' a)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Pattern' a)))))) |
Instances
Data VarIdent Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VarIdent -> c VarIdent # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VarIdent # toConstr :: VarIdent -> Constr # dataTypeOf :: VarIdent -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c VarIdent) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VarIdent) # gmapT :: (forall b. Data b => b -> b) -> VarIdent -> VarIdent # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VarIdent -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VarIdent -> r # gmapQ :: (forall d. Data d => d -> u) -> VarIdent -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> VarIdent -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> VarIdent -> m VarIdent # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VarIdent -> m VarIdent # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VarIdent -> m VarIdent # | |||||
IsString VarIdent Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs fromString :: String -> VarIdent # | |||||
Generic VarIdent Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs
| |||||
Read VarIdent Source # | |||||
Show VarIdent Source # | |||||
Eq VarIdent Source # | |||||
Ord VarIdent Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs | |||||
Print VarIdent Source # | |||||
type Rep VarIdent Source # | |||||
Defined in Language.LambdaPi.Syntax.Abs |
pattern BNFC'NoPosition :: BNFC'Position Source #
pattern BNFC'Position :: Int -> Int -> BNFC'Position Source #
class HasPosition a where Source #
Get the start position of something.
hasPosition :: a -> BNFC'Position Source #
Instances
HasPosition Command Source # | |
Defined in Language.LambdaPi.Syntax.Abs hasPosition :: Command -> BNFC'Position Source # | |
HasPosition Pattern Source # | |
Defined in Language.LambdaPi.Syntax.Abs hasPosition :: Pattern -> BNFC'Position Source # | |
HasPosition Program Source # | |
Defined in Language.LambdaPi.Syntax.Abs hasPosition :: Program -> BNFC'Position Source # | |
HasPosition ScopedTerm Source # | |
Defined in Language.LambdaPi.Syntax.Abs | |
HasPosition Term Source # | |
Defined in Language.LambdaPi.Syntax.Abs hasPosition :: Term -> BNFC'Position Source # |