aihc-parser-0.1.0.0: From-scratch Haskell parser with differential tests
LicenseUnlicense
Safe HaskellNone
LanguageGHC2021

Aihc.Parser.Syntax

Description

Abstract Syntax Tree (AST) covering Haskell2010 plus all language extensions.

Synopsis

Documentation

data ArithSeq Source #

Instances

Instances details
HasSourceSpan ArithSeq Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData ArithSeq Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: ArithSeq -> () #

Data ArithSeq Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: ArithSeq -> Constr #

dataTypeOf :: ArithSeq -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic ArithSeq Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep ArithSeq 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ArithSeq = D1 ('MetaData "ArithSeq" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) ((C1 ('MetaCons "ArithSeqFrom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :+: C1 ('MetaCons "ArithSeqFromThen" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)))) :+: (C1 ('MetaCons "ArithSeqFromTo" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr))) :+: C1 ('MetaCons "ArithSeqFromThenTo" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)))))

Methods

from :: ArithSeq -> Rep ArithSeq x #

to :: Rep ArithSeq x -> ArithSeq #

Show ArithSeq Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq ArithSeq Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ArithSeq Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ArithSeq = D1 ('MetaData "ArithSeq" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) ((C1 ('MetaCons "ArithSeqFrom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :+: C1 ('MetaCons "ArithSeqFromThen" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)))) :+: (C1 ('MetaCons "ArithSeqFromTo" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr))) :+: C1 ('MetaCons "ArithSeqFromThenTo" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)))))

data BangType Source #

Constructors

BangType 

Instances

Instances details
HasSourceSpan BangType Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData BangType Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: BangType -> () #

Data BangType Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: BangType -> Constr #

dataTypeOf :: BangType -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic BangType Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep BangType 
Instance details

Defined in Aihc.Parser.Syntax

type Rep BangType = D1 ('MetaData "BangType" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "BangType" 'PrefixI 'True) (S1 ('MetaSel ('Just "bangSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Just "bangStrict") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "bangType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))))

Methods

from :: BangType -> Rep BangType x #

to :: Rep BangType x -> BangType #

Show BangType Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq BangType Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep BangType Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep BangType = D1 ('MetaData "BangType" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "BangType" 'PrefixI 'True) (S1 ('MetaSel ('Just "bangSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Just "bangStrict") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "bangType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))))

data CallConv Source #

Constructors

CCall 
StdCall 

Instances

Instances details
NFData CallConv Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: CallConv -> () #

Data CallConv Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: CallConv -> Constr #

dataTypeOf :: CallConv -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic CallConv Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep CallConv 
Instance details

Defined in Aihc.Parser.Syntax

type Rep CallConv = D1 ('MetaData "CallConv" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "CCall" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StdCall" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: CallConv -> Rep CallConv x #

to :: Rep CallConv x -> CallConv #

Show CallConv Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq CallConv Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep CallConv Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep CallConv = D1 ('MetaData "CallConv" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "CCall" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StdCall" 'PrefixI 'False) (U1 :: Type -> Type))

data CaseAlt Source #

Instances

Instances details
HasSourceSpan CaseAlt Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData CaseAlt Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: CaseAlt -> () #

Data CaseAlt Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: CaseAlt -> Constr #

dataTypeOf :: CaseAlt -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic CaseAlt Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep CaseAlt 
Instance details

Defined in Aihc.Parser.Syntax

type Rep CaseAlt = D1 ('MetaData "CaseAlt" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "CaseAlt" 'PrefixI 'True) (S1 ('MetaSel ('Just "caseAltSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Just "caseAltPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern) :*: S1 ('MetaSel ('Just "caseAltRhs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rhs))))

Methods

from :: CaseAlt -> Rep CaseAlt x #

to :: Rep CaseAlt x -> CaseAlt #

Show CaseAlt Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq CaseAlt Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

type Rep CaseAlt Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep CaseAlt = D1 ('MetaData "CaseAlt" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "CaseAlt" 'PrefixI 'True) (S1 ('MetaSel ('Just "caseAltSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Just "caseAltPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern) :*: S1 ('MetaSel ('Just "caseAltRhs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rhs))))

data ClassDecl Source #

Instances

Instances details
HasSourceSpan ClassDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData ClassDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: ClassDecl -> () #

Data ClassDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: ClassDecl -> Constr #

dataTypeOf :: ClassDecl -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic ClassDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep ClassDecl 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ClassDecl = D1 ('MetaData "ClassDecl" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "ClassDecl" 'PrefixI 'True) ((S1 ('MetaSel ('Just "classDeclSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Just "classDeclContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Constraint]))) :*: (S1 ('MetaSel ('Just "classDeclName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "classDeclParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TyVarBinder]) :*: S1 ('MetaSel ('Just "classDeclItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ClassDeclItem])))))
Show ClassDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq ClassDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ClassDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ClassDecl = D1 ('MetaData "ClassDecl" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "ClassDecl" 'PrefixI 'True) ((S1 ('MetaSel ('Just "classDeclSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Just "classDeclContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Constraint]))) :*: (S1 ('MetaSel ('Just "classDeclName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "classDeclParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TyVarBinder]) :*: S1 ('MetaSel ('Just "classDeclItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ClassDeclItem])))))

data ClassDeclItem Source #

Instances

Instances details
HasSourceSpan ClassDeclItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData ClassDeclItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: ClassDeclItem -> () #

Data ClassDeclItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: ClassDeclItem -> Constr #

dataTypeOf :: ClassDeclItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic ClassDeclItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

Show ClassDeclItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq ClassDeclItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ClassDeclItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

data CompStmt Source #

Instances

Instances details
HasSourceSpan CompStmt Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData CompStmt Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: CompStmt -> () #

Data CompStmt Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: CompStmt -> Constr #

dataTypeOf :: CompStmt -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic CompStmt Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

from :: CompStmt -> Rep CompStmt x #

to :: Rep CompStmt x -> CompStmt #

Show CompStmt Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq CompStmt Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep CompStmt Source # 
Instance details

Defined in Aihc.Parser.Syntax

data Constraint Source #

Instances

Instances details
HasSourceSpan Constraint Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData Constraint Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: Constraint -> () #

Data Constraint Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: Constraint -> Constr #

dataTypeOf :: Constraint -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic Constraint Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep Constraint 
Instance details

Defined in Aihc.Parser.Syntax

type Rep Constraint = D1 ('MetaData "Constraint" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "Constraint" 'PrefixI 'True) ((S1 ('MetaSel ('Just "constraintSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Just "constraintClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "constraintArgs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Type]) :*: S1 ('MetaSel ('Just "constraintParen") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))
Show Constraint Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq Constraint Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep Constraint Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep Constraint = D1 ('MetaData "Constraint" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "Constraint" 'PrefixI 'True) ((S1 ('MetaSel ('Just "constraintSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Just "constraintClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "constraintArgs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Type]) :*: S1 ('MetaSel ('Just "constraintParen") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))

data DataConDecl Source #

Constructors

PrefixCon SourceSpan [Text] [Constraint] Text [BangType] 
InfixCon SourceSpan [Text] [Constraint] BangType Text BangType 
RecordCon SourceSpan [Text] [Constraint] Text [FieldDecl] 
GadtCon SourceSpan [TyVarBinder] [Constraint] [Text] GadtBody

GADT-style constructor: Con :: forall a. Ctx => Type The list of names supports multiple constructors: T1, T2 :: Type

Instances

Instances details
HasSourceSpan DataConDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData DataConDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: DataConDecl -> () #

Data DataConDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: DataConDecl -> Constr #

dataTypeOf :: DataConDecl -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic DataConDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep DataConDecl 
Instance details

Defined in Aihc.Parser.Syntax

type Rep DataConDecl = D1 ('MetaData "DataConDecl" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) ((C1 ('MetaCons "PrefixCon" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constraint]) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [BangType])))) :+: C1 ('MetaCons "InfixCon" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constraint]))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BangType) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BangType))))) :+: (C1 ('MetaCons "RecordCon" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constraint]) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FieldDecl])))) :+: C1 ('MetaCons "GadtCon" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TyVarBinder])) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constraint]) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GadtBody))))))
Show DataConDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq DataConDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep DataConDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep DataConDecl = D1 ('MetaData "DataConDecl" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) ((C1 ('MetaCons "PrefixCon" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constraint]) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [BangType])))) :+: C1 ('MetaCons "InfixCon" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constraint]))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BangType) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BangType))))) :+: (C1 ('MetaCons "RecordCon" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constraint]) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [FieldDecl])))) :+: C1 ('MetaCons "GadtCon" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TyVarBinder])) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constraint]) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GadtBody))))))

data DataDecl Source #

Instances

Instances details
HasSourceSpan DataDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData DataDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: DataDecl -> () #

Data DataDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: DataDecl -> Constr #

dataTypeOf :: DataDecl -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic DataDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep DataDecl 
Instance details

Defined in Aihc.Parser.Syntax

type Rep DataDecl = D1 ('MetaData "DataDecl" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "DataDecl" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dataDeclSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Just "dataDeclContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constraint]) :*: S1 ('MetaSel ('Just "dataDeclName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "dataDeclParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TyVarBinder]) :*: (S1 ('MetaSel ('Just "dataDeclConstructors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [DataConDecl]) :*: S1 ('MetaSel ('Just "dataDeclDeriving") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [DerivingClause])))))

Methods

from :: DataDecl -> Rep DataDecl x #

to :: Rep DataDecl x -> DataDecl #

Show DataDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq DataDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep DataDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep DataDecl = D1 ('MetaData "DataDecl" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "DataDecl" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dataDeclSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Just "dataDeclContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constraint]) :*: S1 ('MetaSel ('Just "dataDeclName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "dataDeclParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TyVarBinder]) :*: (S1 ('MetaSel ('Just "dataDeclConstructors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [DataConDecl]) :*: S1 ('MetaSel ('Just "dataDeclDeriving") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [DerivingClause])))))

data Decl Source #

Instances

Instances details
HasSourceSpan Decl Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData Decl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: Decl -> () #

Data Decl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: Decl -> Constr #

dataTypeOf :: Decl -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic Decl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep Decl 
Instance details

Defined in Aihc.Parser.Syntax

type Rep Decl = D1 ('MetaData "Decl" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (((C1 ('MetaCons "DeclValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ValueDecl)) :+: (C1 ('MetaCons "DeclTypeSig" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [BinderName]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: C1 ('MetaCons "DeclStandaloneKindSig" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BinderName) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))))) :+: (C1 ('MetaCons "DeclFixity" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FixityAssoc)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [OperatorName]))) :+: (C1 ('MetaCons "DeclTypeSyn" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypeSynDecl)) :+: C1 ('MetaCons "DeclData" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DataDecl))))) :+: ((C1 ('MetaCons "DeclNewtype" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NewtypeDecl)) :+: (C1 ('MetaCons "DeclClass" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ClassDecl)) :+: C1 ('MetaCons "DeclInstance" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InstanceDecl)))) :+: (C1 ('MetaCons "DeclStandaloneDeriving" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StandaloneDerivingDecl)) :+: (C1 ('MetaCons "DeclDefault" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Type])) :+: C1 ('MetaCons "DeclForeign" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ForeignDecl))))))

Methods

from :: Decl -> Rep Decl x #

to :: Rep Decl x -> Decl #

Show Decl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

showsPrec :: Int -> Decl -> ShowS #

show :: Decl -> String #

showList :: [Decl] -> ShowS #

Eq Decl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

type Rep Decl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep Decl = D1 ('MetaData "Decl" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (((C1 ('MetaCons "DeclValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ValueDecl)) :+: (C1 ('MetaCons "DeclTypeSig" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [BinderName]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: C1 ('MetaCons "DeclStandaloneKindSig" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BinderName) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))))) :+: (C1 ('MetaCons "DeclFixity" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FixityAssoc)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [OperatorName]))) :+: (C1 ('MetaCons "DeclTypeSyn" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypeSynDecl)) :+: C1 ('MetaCons "DeclData" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DataDecl))))) :+: ((C1 ('MetaCons "DeclNewtype" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NewtypeDecl)) :+: (C1 ('MetaCons "DeclClass" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ClassDecl)) :+: C1 ('MetaCons "DeclInstance" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InstanceDecl)))) :+: (C1 ('MetaCons "DeclStandaloneDeriving" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StandaloneDerivingDecl)) :+: (C1 ('MetaCons "DeclDefault" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Type])) :+: C1 ('MetaCons "DeclForeign" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ForeignDecl))))))

data DerivingClause Source #

Instances

Instances details
NFData DerivingClause Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: DerivingClause -> () #

Data DerivingClause Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: DerivingClause -> Constr #

dataTypeOf :: DerivingClause -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic DerivingClause Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep DerivingClause 
Instance details

Defined in Aihc.Parser.Syntax

type Rep DerivingClause = D1 ('MetaData "DerivingClause" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "DerivingClause" 'PrefixI 'True) (S1 ('MetaSel ('Just "derivingStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DerivingStrategy)) :*: S1 ('MetaSel ('Just "derivingClasses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])))
Show DerivingClause Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq DerivingClause Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep DerivingClause Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep DerivingClause = D1 ('MetaData "DerivingClause" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "DerivingClause" 'PrefixI 'True) (S1 ('MetaSel ('Just "derivingStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DerivingStrategy)) :*: S1 ('MetaSel ('Just "derivingClasses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])))

data DerivingStrategy Source #

Instances

Instances details
NFData DerivingStrategy Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: DerivingStrategy -> () #

Data DerivingStrategy Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: DerivingStrategy -> Constr #

dataTypeOf :: DerivingStrategy -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic DerivingStrategy Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep DerivingStrategy 
Instance details

Defined in Aihc.Parser.Syntax

type Rep DerivingStrategy = D1 ('MetaData "DerivingStrategy" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "DerivingStock" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DerivingNewtype" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DerivingAnyclass" 'PrefixI 'False) (U1 :: Type -> Type)))
Show DerivingStrategy Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq DerivingStrategy Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep DerivingStrategy Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep DerivingStrategy = D1 ('MetaData "DerivingStrategy" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "DerivingStock" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DerivingNewtype" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DerivingAnyclass" 'PrefixI 'False) (U1 :: Type -> Type)))

data DoStmt Source #

Instances

Instances details
HasSourceSpan DoStmt Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData DoStmt Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: DoStmt -> () #

Data DoStmt Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: DoStmt -> Constr #

dataTypeOf :: DoStmt -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic DoStmt Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

from :: DoStmt -> Rep DoStmt x #

to :: Rep DoStmt x -> DoStmt #

Show DoStmt Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq DoStmt Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

type Rep DoStmt Source # 
Instance details

Defined in Aihc.Parser.Syntax

data Expr Source #

Instances

Instances details
Shorthand Expr Source # 
Instance details

Defined in Aihc.Parser.Shorthand

Methods

shorthand :: Expr -> Doc () Source #

HasSourceSpan Expr Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData Expr Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: Expr -> () #

Data Expr Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: Expr -> Constr #

dataTypeOf :: Expr -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic Expr Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep Expr 
Instance details

Defined in Aihc.Parser.Syntax

type Rep Expr = D1 ('MetaData "Expr" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) ((((C1 ('MetaCons "EVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: (C1 ('MetaCons "EInt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "EIntBase" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))) :+: ((C1 ('MetaCons "EFloat" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "EChar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Char) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) :+: (C1 ('MetaCons "EString" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "EQuasiQuote" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))) :+: (((C1 ('MetaCons "EIf" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr))) :+: C1 ('MetaCons "ELambdaPats" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Pattern]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)))) :+: (C1 ('MetaCons "ELambdaCase" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CaseAlt])) :+: C1 ('MetaCons "EInfix" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr))))) :+: ((C1 ('MetaCons "ENegate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :+: C1 ('MetaCons "ESectionL" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) :+: (C1 ('MetaCons "ESectionR" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr))) :+: C1 ('MetaCons "ELetDecls" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Decl]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr))))))) :+: ((((C1 ('MetaCons "ECase" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CaseAlt]))) :+: C1 ('MetaCons "EDo" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [DoStmt]))) :+: (C1 ('MetaCons "EListComp" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CompStmt]))) :+: C1 ('MetaCons "EListCompParallel" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [[CompStmt]]))))) :+: ((C1 ('MetaCons "EArithSeq" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ArithSeq)) :+: C1 ('MetaCons "ERecordCon" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Text, Expr)])))) :+: (C1 ('MetaCons "ERecordUpd" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Text, Expr)]))) :+: C1 ('MetaCons "ETypeSig" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)))))) :+: (((C1 ('MetaCons "EParen" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :+: C1 ('MetaCons "EWhereDecls" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Decl])))) :+: (C1 ('MetaCons "EList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Expr])) :+: C1 ('MetaCons "ETuple" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Expr])))) :+: ((C1 ('MetaCons "ETupleSection" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Maybe Expr])) :+: C1 ('MetaCons "ETupleCon" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :+: (C1 ('MetaCons "ETypeApp" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: C1 ('MetaCons "EApp" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr))))))))

Methods

from :: Expr -> Rep Expr x #

to :: Rep Expr x -> Expr #

Show Expr Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

showsPrec :: Int -> Expr -> ShowS #

show :: Expr -> String #

showList :: [Expr] -> ShowS #

Eq Expr Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

Pretty Expr Source #

Pretty instance for Expr - renders to valid Haskell source code.

Instance details

Defined in Aihc.Parser.Pretty

Methods

pretty :: Expr -> Doc ann Source #

prettyList :: [Expr] -> Doc ann Source #

type Rep Expr Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep Expr = D1 ('MetaData "Expr" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) ((((C1 ('MetaCons "EVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: (C1 ('MetaCons "EInt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "EIntBase" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))) :+: ((C1 ('MetaCons "EFloat" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "EChar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Char) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) :+: (C1 ('MetaCons "EString" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "EQuasiQuote" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))) :+: (((C1 ('MetaCons "EIf" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr))) :+: C1 ('MetaCons "ELambdaPats" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Pattern]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)))) :+: (C1 ('MetaCons "ELambdaCase" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CaseAlt])) :+: C1 ('MetaCons "EInfix" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr))))) :+: ((C1 ('MetaCons "ENegate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :+: C1 ('MetaCons "ESectionL" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) :+: (C1 ('MetaCons "ESectionR" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr))) :+: C1 ('MetaCons "ELetDecls" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Decl]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr))))))) :+: ((((C1 ('MetaCons "ECase" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CaseAlt]))) :+: C1 ('MetaCons "EDo" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [DoStmt]))) :+: (C1 ('MetaCons "EListComp" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CompStmt]))) :+: C1 ('MetaCons "EListCompParallel" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [[CompStmt]]))))) :+: ((C1 ('MetaCons "EArithSeq" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ArithSeq)) :+: C1 ('MetaCons "ERecordCon" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Text, Expr)])))) :+: (C1 ('MetaCons "ERecordUpd" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Text, Expr)]))) :+: C1 ('MetaCons "ETypeSig" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)))))) :+: (((C1 ('MetaCons "EParen" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :+: C1 ('MetaCons "EWhereDecls" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Decl])))) :+: (C1 ('MetaCons "EList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Expr])) :+: C1 ('MetaCons "ETuple" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Expr])))) :+: ((C1 ('MetaCons "ETupleSection" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Maybe Expr])) :+: C1 ('MetaCons "ETupleCon" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :+: (C1 ('MetaCons "ETypeApp" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: C1 ('MetaCons "EApp" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr))))))))

data Extension Source #

Constructors

AllowAmbiguousTypes 
AlternativeLayoutRule 
AlternativeLayoutRuleTransitional 
ApplicativeDo 
Arrows 
AutoDeriveTypeable 
BangPatterns 
BinaryLiterals 
BlockArguments 
CApiFFI 
ConstrainedClassMethods 
ConstraintKinds 
CPP 
CUSKs 
DataKinds 
DatatypeContexts 
DeepSubsumption 
DefaultSignatures 
DeriveAnyClass 
DeriveDataTypeable 
DeriveFoldable 
DeriveFunctor 
DeriveGeneric 
DeriveLift 
DeriveTraversable 
DerivingStrategies 
DerivingVia 
DisambiguateRecordFields 
DoAndIfThenElse 
DoRec 
DuplicateRecordFields 
EmptyCase 
EmptyDataDecls 
EmptyDataDeriving 
ExistentialQuantification 
ExplicitForAll 
ExplicitLevelImports 
ExplicitNamespaces 
ExtensibleRecords 
ExtendedDefaultRules 
ExtendedLiterals 
FieldSelectors 
FlexibleContexts 
FlexibleInstances 
ForeignFunctionInterface 
FunctionalDependencies 
GADTs 
GADTSyntax 
Generics 
GeneralizedNewtypeDeriving 
GHC2021 
GHC2024 
GHCForeignImportPrim 
Haskell2010 
Haskell98 
HereDocuments 
HexFloatLiterals 
ImplicitParams 
ImplicitPrelude 
ImplicitStagePersistence 
ImportQualifiedPost 
ImpredicativeTypes 
IncoherentInstances 
InstanceSigs 
InterruptibleFFI 
JavaScriptFFI 
KindSignatures 
LambdaCase 
LexicalNegation 
LiberalTypeSynonyms 
LinearTypes 
ListTuplePuns 
MagicHash 
MonadComprehensions 
MonadFailDesugaring 
MonoLocalBinds 
MonoPatBinds 
MonomorphismRestriction 
MultilineStrings 
MultiParamTypeClasses 
MultiWayIf 
NamedDefaults 
NamedFieldPuns 
NamedWildCards 
NewQualifiedOperators 
NegativeLiterals 
NondecreasingIndentation 
NPlusKPatterns 
NullaryTypeClasses 
NumDecimals 
NumericUnderscores 
OrPatterns 
OverlappingInstances 
OverloadedLabels 
OverloadedLists 
OverloadedRecordDot 
OverloadedRecordUpdate 
OverloadedStrings 
PackageImports 
ParallelArrays 
ParallelListComp 
PartialTypeSignatures 
PatternSignatures 
PatternGuards 
PatternSynonyms 
PolymorphicComponents 
PolyKinds 
PostfixOperators 
QualifiedDo 
QualifiedStrings 
QuantifiedConstraints 
QuasiQuotes 
Rank2Types 
RankNTypes 
RebindableSyntax 
RecordPuns 
RecordWildCards 
RecursiveDo 
RegularPatterns 
RelaxedLayout 
RelaxedPolyRec 
RestrictedTypeSynonyms 
RequiredTypeArguments 
RoleAnnotations 
SafeImports 
SafeHaskell 
ScopedTypeVariables 
StandaloneDeriving 
StandaloneKindSignatures 
StarIsType 
StaticPointers 
Strict 
StrictData 
TemplateHaskell 
TemplateHaskellQuotes 
TraditionalRecordSyntax 
TransformListComp 
Trustworthy 
TupleSections 
TypeAbstractions 
TypeApplications 
TypeData 
TypeFamilies 
TypeFamilyDependencies 
TypeInType 
TypeOperators 
TypeSynonymInstances 
UnboxedSums 
UnboxedTuples 
UndecidableInstances 
UndecidableSuperClasses 
UnicodeSyntax 
UnliftedDatatypes 
UnliftedFFITypes 
UnliftedNewtypes 
UnsafeHaskell 
ViewPatterns 
XmlSyntax 

Instances

Instances details
NFData Extension Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: Extension -> () #

Bounded Extension Source # 
Instance details

Defined in Aihc.Parser.Syntax

Enum Extension Source # 
Instance details

Defined in Aihc.Parser.Syntax

Generic Extension Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep Extension 
Instance details

Defined in Aihc.Parser.Syntax

type Rep Extension = D1 ('MetaData "Extension" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (((((((C1 ('MetaCons "AllowAmbiguousTypes" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlternativeLayoutRule" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "AlternativeLayoutRuleTransitional" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ApplicativeDo" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Arrows" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AutoDeriveTypeable" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "BangPatterns" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "BinaryLiterals" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BlockArguments" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "CApiFFI" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ConstrainedClassMethods" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ConstraintKinds" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CPP" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CUSKs" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "DataKinds" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DatatypeContexts" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DeepSubsumption" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DefaultSignatures" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DeriveAnyClass" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "DeriveDataTypeable" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DeriveFoldable" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DeriveFunctor" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DeriveGeneric" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DeriveLift" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "DeriveTraversable" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DerivingStrategies" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DerivingVia" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DisambiguateRecordFields" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DoAndIfThenElse" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "DoRec" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DuplicateRecordFields" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "EmptyCase" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "EmptyDataDecls" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EmptyDataDeriving" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "ExistentialQuantification" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ExplicitForAll" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ExplicitLevelImports" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ExplicitNamespaces" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ExtensibleRecords" 'PrefixI 'False) (U1 :: Type -> Type))))))) :+: (((((C1 ('MetaCons "ExtendedDefaultRules" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ExtendedLiterals" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "FieldSelectors" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "FlexibleContexts" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FlexibleInstances" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "ForeignFunctionInterface" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FunctionalDependencies" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "GADTs" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "GADTSyntax" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Generics" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "GeneralizedNewtypeDeriving" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GHC2021" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "GHC2024" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "GHCForeignImportPrim" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Haskell2010" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "Haskell98" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "HereDocuments" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "HexFloatLiterals" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ImplicitParams" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ImplicitPrelude" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "ImplicitStagePersistence" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ImportQualifiedPost" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ImpredicativeTypes" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "IncoherentInstances" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InstanceSigs" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "InterruptibleFFI" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "JavaScriptFFI" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "KindSignatures" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LambdaCase" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LexicalNegation" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "LiberalTypeSynonyms" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LinearTypes" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ListTuplePuns" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MagicHash" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MonadComprehensions" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "MonadFailDesugaring" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MonoLocalBinds" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MonoPatBinds" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MonomorphismRestriction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MultilineStrings" 'PrefixI 'False) (U1 :: Type -> Type)))))))) :+: ((((((C1 ('MetaCons "MultiParamTypeClasses" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MultiWayIf" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "NamedDefaults" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NamedFieldPuns" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "NamedWildCards" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NewQualifiedOperators" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "NegativeLiterals" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "NondecreasingIndentation" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NPlusKPatterns" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "NullaryTypeClasses" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NumDecimals" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "NumericUnderscores" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OrPatterns" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OverlappingInstances" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "OverloadedLabels" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OverloadedLists" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "OverloadedRecordDot" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OverloadedRecordUpdate" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OverloadedStrings" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "PackageImports" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ParallelArrays" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ParallelListComp" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PartialTypeSignatures" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PatternSignatures" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "PatternGuards" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PatternSynonyms" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PolymorphicComponents" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PolyKinds" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PostfixOperators" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "QualifiedDo" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "QualifiedStrings" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "QuantifiedConstraints" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "QuasiQuotes" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Rank2Types" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "RankNTypes" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RebindableSyntax" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "RecordPuns" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "RecordWildCards" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RecursiveDo" 'PrefixI 'False) (U1 :: Type -> Type))))))) :+: (((((C1 ('MetaCons "RegularPatterns" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RelaxedLayout" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "RelaxedPolyRec" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "RestrictedTypeSynonyms" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RequiredTypeArguments" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "RoleAnnotations" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SafeImports" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SafeHaskell" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ScopedTypeVariables" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StandaloneDeriving" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "StandaloneKindSignatures" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StarIsType" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "StaticPointers" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Strict" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StrictData" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "TemplateHaskell" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TemplateHaskellQuotes" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TraditionalRecordSyntax" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TransformListComp" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Trustworthy" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "TupleSections" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TypeAbstractions" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TypeApplications" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TypeData" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TypeFamilies" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "TypeFamilyDependencies" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TypeInType" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TypeOperators" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TypeSynonymInstances" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UnboxedSums" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "UnboxedTuples" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UndecidableInstances" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "UndecidableSuperClasses" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UnicodeSyntax" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UnliftedDatatypes" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "UnliftedFFITypes" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UnliftedNewtypes" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "UnsafeHaskell" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ViewPatterns" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "XmlSyntax" 'PrefixI 'False) (U1 :: Type -> Type)))))))))
Read Extension Source # 
Instance details

Defined in Aihc.Parser.Syntax

Show Extension Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq Extension Source # 
Instance details

Defined in Aihc.Parser.Syntax

Ord Extension Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep Extension Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep Extension = D1 ('MetaData "Extension" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (((((((C1 ('MetaCons "AllowAmbiguousTypes" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AlternativeLayoutRule" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "AlternativeLayoutRuleTransitional" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ApplicativeDo" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Arrows" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "AutoDeriveTypeable" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "BangPatterns" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "BinaryLiterals" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BlockArguments" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "CApiFFI" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ConstrainedClassMethods" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ConstraintKinds" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CPP" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CUSKs" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "DataKinds" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DatatypeContexts" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DeepSubsumption" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DefaultSignatures" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DeriveAnyClass" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "DeriveDataTypeable" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DeriveFoldable" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DeriveFunctor" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DeriveGeneric" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DeriveLift" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "DeriveTraversable" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DerivingStrategies" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DerivingVia" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DisambiguateRecordFields" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DoAndIfThenElse" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "DoRec" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DuplicateRecordFields" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "EmptyCase" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "EmptyDataDecls" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "EmptyDataDeriving" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "ExistentialQuantification" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ExplicitForAll" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ExplicitLevelImports" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ExplicitNamespaces" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ExtensibleRecords" 'PrefixI 'False) (U1 :: Type -> Type))))))) :+: (((((C1 ('MetaCons "ExtendedDefaultRules" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ExtendedLiterals" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "FieldSelectors" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "FlexibleContexts" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FlexibleInstances" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "ForeignFunctionInterface" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FunctionalDependencies" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "GADTs" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "GADTSyntax" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Generics" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "GeneralizedNewtypeDeriving" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GHC2021" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "GHC2024" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "GHCForeignImportPrim" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Haskell2010" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "Haskell98" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "HereDocuments" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "HexFloatLiterals" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ImplicitParams" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ImplicitPrelude" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "ImplicitStagePersistence" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ImportQualifiedPost" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ImpredicativeTypes" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "IncoherentInstances" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InstanceSigs" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "InterruptibleFFI" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "JavaScriptFFI" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "KindSignatures" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LambdaCase" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LexicalNegation" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "LiberalTypeSynonyms" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LinearTypes" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ListTuplePuns" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MagicHash" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MonadComprehensions" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "MonadFailDesugaring" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MonoLocalBinds" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MonoPatBinds" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MonomorphismRestriction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MultilineStrings" 'PrefixI 'False) (U1 :: Type -> Type)))))))) :+: ((((((C1 ('MetaCons "MultiParamTypeClasses" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MultiWayIf" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "NamedDefaults" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NamedFieldPuns" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "NamedWildCards" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NewQualifiedOperators" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "NegativeLiterals" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "NondecreasingIndentation" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NPlusKPatterns" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "NullaryTypeClasses" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NumDecimals" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "NumericUnderscores" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OrPatterns" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OverlappingInstances" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "OverloadedLabels" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OverloadedLists" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "OverloadedRecordDot" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OverloadedRecordUpdate" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OverloadedStrings" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "PackageImports" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ParallelArrays" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ParallelListComp" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PartialTypeSignatures" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PatternSignatures" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "PatternGuards" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PatternSynonyms" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PolymorphicComponents" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PolyKinds" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PostfixOperators" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "QualifiedDo" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "QualifiedStrings" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "QuantifiedConstraints" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "QuasiQuotes" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Rank2Types" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "RankNTypes" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RebindableSyntax" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "RecordPuns" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "RecordWildCards" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RecursiveDo" 'PrefixI 'False) (U1 :: Type -> Type))))))) :+: (((((C1 ('MetaCons "RegularPatterns" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RelaxedLayout" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "RelaxedPolyRec" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "RestrictedTypeSynonyms" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RequiredTypeArguments" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "RoleAnnotations" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SafeImports" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SafeHaskell" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ScopedTypeVariables" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StandaloneDeriving" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "StandaloneKindSignatures" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StarIsType" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "StaticPointers" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Strict" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StrictData" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "TemplateHaskell" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TemplateHaskellQuotes" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TraditionalRecordSyntax" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TransformListComp" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Trustworthy" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "TupleSections" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TypeAbstractions" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TypeApplications" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TypeData" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TypeFamilies" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "TypeFamilyDependencies" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TypeInType" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "TypeOperators" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TypeSynonymInstances" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UnboxedSums" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "UnboxedTuples" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UndecidableInstances" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "UndecidableSuperClasses" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UnicodeSyntax" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UnliftedDatatypes" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "UnliftedFFITypes" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UnliftedNewtypes" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "UnsafeHaskell" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ViewPatterns" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "XmlSyntax" 'PrefixI 'False) (U1 :: Type -> Type)))))))))

data ExtensionSetting Source #

Instances

Instances details
NFData ExtensionSetting Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: ExtensionSetting -> () #

Generic ExtensionSetting Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep ExtensionSetting 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ExtensionSetting = D1 ('MetaData "ExtensionSetting" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "EnableExtension" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Extension)) :+: C1 ('MetaCons "DisableExtension" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Extension)))
Read ExtensionSetting Source # 
Instance details

Defined in Aihc.Parser.Syntax

Show ExtensionSetting Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq ExtensionSetting Source # 
Instance details

Defined in Aihc.Parser.Syntax

Ord ExtensionSetting Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ExtensionSetting Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ExtensionSetting = D1 ('MetaData "ExtensionSetting" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "EnableExtension" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Extension)) :+: C1 ('MetaCons "DisableExtension" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Extension)))

data ExportSpec Source #

Instances

Instances details
NFData ExportSpec Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: ExportSpec -> () #

Generic ExportSpec Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep ExportSpec 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ExportSpec = D1 ('MetaData "ExportSpec" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) ((C1 ('MetaCons "ExportModule" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "ExportVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) :+: (C1 ('MetaCons "ExportAbs" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: (C1 ('MetaCons "ExportAll" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "ExportWith" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]))))))
Show ExportSpec Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq ExportSpec Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ExportSpec Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ExportSpec = D1 ('MetaData "ExportSpec" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) ((C1 ('MetaCons "ExportModule" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "ExportVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) :+: (C1 ('MetaCons "ExportAbs" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: (C1 ('MetaCons "ExportAll" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "ExportWith" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]))))))

data FieldDecl Source #

Constructors

FieldDecl 

Instances

Instances details
HasSourceSpan FieldDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData FieldDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: FieldDecl -> () #

Data FieldDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: FieldDecl -> Constr #

dataTypeOf :: FieldDecl -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic FieldDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep FieldDecl 
Instance details

Defined in Aihc.Parser.Syntax

type Rep FieldDecl = D1 ('MetaData "FieldDecl" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "FieldDecl" 'PrefixI 'True) (S1 ('MetaSel ('Just "fieldSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Just "fieldNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "fieldType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BangType))))
Show FieldDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq FieldDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep FieldDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep FieldDecl = D1 ('MetaData "FieldDecl" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "FieldDecl" 'PrefixI 'True) (S1 ('MetaSel ('Just "fieldSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Just "fieldNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "fieldType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BangType))))

data FixityAssoc Source #

Constructors

Infix 
InfixL 
InfixR 

Instances

Instances details
NFData FixityAssoc Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: FixityAssoc -> () #

Data FixityAssoc Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: FixityAssoc -> Constr #

dataTypeOf :: FixityAssoc -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic FixityAssoc Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep FixityAssoc 
Instance details

Defined in Aihc.Parser.Syntax

type Rep FixityAssoc = D1 ('MetaData "FixityAssoc" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "Infix" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "InfixL" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InfixR" 'PrefixI 'False) (U1 :: Type -> Type)))
Show FixityAssoc Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq FixityAssoc Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep FixityAssoc Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep FixityAssoc = D1 ('MetaData "FixityAssoc" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "Infix" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "InfixL" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InfixR" 'PrefixI 'False) (U1 :: Type -> Type)))

data ForeignDecl Source #

Instances

Instances details
HasSourceSpan ForeignDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData ForeignDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: ForeignDecl -> () #

Data ForeignDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: ForeignDecl -> Constr #

dataTypeOf :: ForeignDecl -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic ForeignDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep ForeignDecl 
Instance details

Defined in Aihc.Parser.Syntax

Show ForeignDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq ForeignDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ForeignDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

data ForeignDirection Source #

Instances

Instances details
NFData ForeignDirection Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: ForeignDirection -> () #

Data ForeignDirection Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: ForeignDirection -> Constr #

dataTypeOf :: ForeignDirection -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic ForeignDirection Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep ForeignDirection 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ForeignDirection = D1 ('MetaData "ForeignDirection" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "ForeignImport" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ForeignExport" 'PrefixI 'False) (U1 :: Type -> Type))
Show ForeignDirection Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq ForeignDirection Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ForeignDirection Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ForeignDirection = D1 ('MetaData "ForeignDirection" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "ForeignImport" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ForeignExport" 'PrefixI 'False) (U1 :: Type -> Type))

data ForeignEntitySpec Source #

Instances

Instances details
NFData ForeignEntitySpec Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: ForeignEntitySpec -> () #

Data ForeignEntitySpec Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: ForeignEntitySpec -> Constr #

dataTypeOf :: ForeignEntitySpec -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic ForeignEntitySpec Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep ForeignEntitySpec 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ForeignEntitySpec = D1 ('MetaData "ForeignEntitySpec" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) ((C1 ('MetaCons "ForeignEntityDynamic" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ForeignEntityWrapper" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ForeignEntityStatic" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))) :+: (C1 ('MetaCons "ForeignEntityAddress" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :+: (C1 ('MetaCons "ForeignEntityNamed" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "ForeignEntityOmitted" 'PrefixI 'False) (U1 :: Type -> Type))))
Show ForeignEntitySpec Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq ForeignEntitySpec Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ForeignEntitySpec Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ForeignEntitySpec = D1 ('MetaData "ForeignEntitySpec" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) ((C1 ('MetaCons "ForeignEntityDynamic" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ForeignEntityWrapper" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ForeignEntityStatic" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))) :+: (C1 ('MetaCons "ForeignEntityAddress" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :+: (C1 ('MetaCons "ForeignEntityNamed" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "ForeignEntityOmitted" 'PrefixI 'False) (U1 :: Type -> Type))))

data ForeignSafety Source #

Constructors

Safe 
Unsafe 

Instances

Instances details
NFData ForeignSafety Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: ForeignSafety -> () #

Data ForeignSafety Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: ForeignSafety -> Constr #

dataTypeOf :: ForeignSafety -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic ForeignSafety Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep ForeignSafety 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ForeignSafety = D1 ('MetaData "ForeignSafety" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "Safe" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Unsafe" 'PrefixI 'False) (U1 :: Type -> Type))
Show ForeignSafety Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq ForeignSafety Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ForeignSafety Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ForeignSafety = D1 ('MetaData "ForeignSafety" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "Safe" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Unsafe" 'PrefixI 'False) (U1 :: Type -> Type))

data GadtBody Source #

Body of a GADT constructor after the :: and optional forall/context

Constructors

GadtPrefixBody [BangType] Type

Prefix body: a -> b -> T a

GadtRecordBody [FieldDecl] Type

Record body: { field :: Type } -> T a

Instances

Instances details
NFData GadtBody Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: GadtBody -> () #

Data GadtBody Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: GadtBody -> Constr #

dataTypeOf :: GadtBody -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic GadtBody Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep GadtBody 
Instance details

Defined in Aihc.Parser.Syntax

Methods

from :: GadtBody -> Rep GadtBody x #

to :: Rep GadtBody x -> GadtBody #

Show GadtBody Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq GadtBody Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep GadtBody Source # 
Instance details

Defined in Aihc.Parser.Syntax

data GuardQualifier Source #

Instances

Instances details
HasSourceSpan GuardQualifier Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData GuardQualifier Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: GuardQualifier -> () #

Data GuardQualifier Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: GuardQualifier -> Constr #

dataTypeOf :: GuardQualifier -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic GuardQualifier Source # 
Instance details

Defined in Aihc.Parser.Syntax

Show GuardQualifier Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq GuardQualifier Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep GuardQualifier Source # 
Instance details

Defined in Aihc.Parser.Syntax

data GuardedRhs Source #

Instances

Instances details
HasSourceSpan GuardedRhs Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData GuardedRhs Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: GuardedRhs -> () #

Data GuardedRhs Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: GuardedRhs -> Constr #

dataTypeOf :: GuardedRhs -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic GuardedRhs Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep GuardedRhs 
Instance details

Defined in Aihc.Parser.Syntax

type Rep GuardedRhs = D1 ('MetaData "GuardedRhs" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "GuardedRhs" 'PrefixI 'True) (S1 ('MetaSel ('Just "guardedRhsSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Just "guardedRhsGuards") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [GuardQualifier]) :*: S1 ('MetaSel ('Just "guardedRhsBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr))))
Show GuardedRhs Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq GuardedRhs Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep GuardedRhs Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep GuardedRhs = D1 ('MetaData "GuardedRhs" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "GuardedRhs" 'PrefixI 'True) (S1 ('MetaSel ('Just "guardedRhsSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Just "guardedRhsGuards") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [GuardQualifier]) :*: S1 ('MetaSel ('Just "guardedRhsBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr))))

data ImportDecl Source #

Instances

Instances details
HasSourceSpan ImportDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData ImportDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: ImportDecl -> () #

Generic ImportDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep ImportDecl 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ImportDecl = D1 ('MetaData "ImportDecl" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "ImportDecl" 'PrefixI 'True) (((S1 ('MetaSel ('Just "importDeclSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Just "importDeclLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ImportLevel))) :*: (S1 ('MetaSel ('Just "importDeclPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "importDeclQualified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just "importDeclQualifiedPost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "importDeclModule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "importDeclAs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "importDeclSpec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ImportSpec))))))
Show ImportDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq ImportDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ImportDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ImportDecl = D1 ('MetaData "ImportDecl" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "ImportDecl" 'PrefixI 'True) (((S1 ('MetaSel ('Just "importDeclSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Just "importDeclLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ImportLevel))) :*: (S1 ('MetaSel ('Just "importDeclPackage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "importDeclQualified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just "importDeclQualifiedPost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "importDeclModule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "importDeclAs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "importDeclSpec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ImportSpec))))))

data ImportLevel Source #

Instances

Instances details
NFData ImportLevel Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: ImportLevel -> () #

Generic ImportLevel Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep ImportLevel 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ImportLevel = D1 ('MetaData "ImportLevel" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "ImportLevelQuote" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ImportLevelSplice" 'PrefixI 'False) (U1 :: Type -> Type))
Show ImportLevel Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq ImportLevel Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ImportLevel Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ImportLevel = D1 ('MetaData "ImportLevel" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "ImportLevelQuote" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ImportLevelSplice" 'PrefixI 'False) (U1 :: Type -> Type))

data ImportItem Source #

Instances

Instances details
NFData ImportItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: ImportItem -> () #

Generic ImportItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep ImportItem 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ImportItem = D1 ('MetaData "ImportItem" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) ((C1 ('MetaCons "ImportItemVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "ImportItemAbs" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) :+: (C1 ('MetaCons "ImportItemAll" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "ImportItemWith" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])))))
Show ImportItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq ImportItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ImportItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ImportItem = D1 ('MetaData "ImportItem" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) ((C1 ('MetaCons "ImportItemVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "ImportItemAbs" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) :+: (C1 ('MetaCons "ImportItemAll" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "ImportItemWith" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])))))

data ImportSpec Source #

Instances

Instances details
HasSourceSpan ImportSpec Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData ImportSpec Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: ImportSpec -> () #

Generic ImportSpec Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep ImportSpec 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ImportSpec = D1 ('MetaData "ImportSpec" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "ImportSpec" 'PrefixI 'True) (S1 ('MetaSel ('Just "importSpecSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Just "importSpecHiding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "importSpecItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ImportItem]))))
Show ImportSpec Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq ImportSpec Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ImportSpec Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ImportSpec = D1 ('MetaData "ImportSpec" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "ImportSpec" 'PrefixI 'True) (S1 ('MetaSel ('Just "importSpecSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Just "importSpecHiding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "importSpecItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ImportItem]))))

data InstanceDecl Source #

Instances

Instances details
HasSourceSpan InstanceDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData InstanceDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: InstanceDecl -> () #

Data InstanceDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: InstanceDecl -> Constr #

dataTypeOf :: InstanceDecl -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic InstanceDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep InstanceDecl 
Instance details

Defined in Aihc.Parser.Syntax

type Rep InstanceDecl = D1 ('MetaData "InstanceDecl" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "InstanceDecl" 'PrefixI 'True) ((S1 ('MetaSel ('Just "instanceDeclSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Just "instanceDeclContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constraint])) :*: (S1 ('MetaSel ('Just "instanceDeclClassName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "instanceDeclTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Type]) :*: S1 ('MetaSel ('Just "instanceDeclItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [InstanceDeclItem])))))
Show InstanceDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq InstanceDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep InstanceDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep InstanceDecl = D1 ('MetaData "InstanceDecl" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "InstanceDecl" 'PrefixI 'True) ((S1 ('MetaSel ('Just "instanceDeclSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Just "instanceDeclContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constraint])) :*: (S1 ('MetaSel ('Just "instanceDeclClassName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "instanceDeclTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Type]) :*: S1 ('MetaSel ('Just "instanceDeclItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [InstanceDeclItem])))))

data InstanceDeclItem Source #

Instances

Instances details
HasSourceSpan InstanceDeclItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData InstanceDeclItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: InstanceDeclItem -> () #

Data InstanceDeclItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: InstanceDeclItem -> Constr #

dataTypeOf :: InstanceDeclItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic InstanceDeclItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

Show InstanceDeclItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq InstanceDeclItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep InstanceDeclItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

data Literal Source #

Instances

Instances details
HasSourceSpan Literal Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData Literal Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: Literal -> () #

Data Literal Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: Literal -> Constr #

dataTypeOf :: Literal -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic Literal Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep Literal 
Instance details

Defined in Aihc.Parser.Syntax

type Rep Literal = D1 ('MetaData "Literal" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) ((C1 ('MetaCons "LitInt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "LitIntBase" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) :+: (C1 ('MetaCons "LitFloat" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: (C1 ('MetaCons "LitChar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Char) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "LitString" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))))

Methods

from :: Literal -> Rep Literal x #

to :: Rep Literal x -> Literal #

Show Literal Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq Literal Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

type Rep Literal Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep Literal = D1 ('MetaData "Literal" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) ((C1 ('MetaCons "LitInt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "LitIntBase" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) :+: (C1 ('MetaCons "LitFloat" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: (C1 ('MetaCons "LitChar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Char) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "LitString" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))))

data Match Source #

Constructors

Match 

Instances

Instances details
HasSourceSpan Match Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData Match Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: Match -> () #

Data Match Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: Match -> Constr #

dataTypeOf :: Match -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic Match Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep Match 
Instance details

Defined in Aihc.Parser.Syntax

type Rep Match = D1 ('MetaData "Match" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "Match" 'PrefixI 'True) (S1 ('MetaSel ('Just "matchSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Just "matchPats") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Pattern]) :*: S1 ('MetaSel ('Just "matchRhs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rhs))))

Methods

from :: Match -> Rep Match x #

to :: Rep Match x -> Match #

Show Match Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

showsPrec :: Int -> Match -> ShowS #

show :: Match -> String #

showList :: [Match] -> ShowS #

Eq Match Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

type Rep Match Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep Match = D1 ('MetaData "Match" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "Match" 'PrefixI 'True) (S1 ('MetaSel ('Just "matchSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Just "matchPats") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Pattern]) :*: S1 ('MetaSel ('Just "matchRhs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rhs))))

data Module Source #

Instances

Instances details
Shorthand Module Source # 
Instance details

Defined in Aihc.Parser.Shorthand

Methods

shorthand :: Module -> Doc () Source #

HasSourceSpan Module Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData Module Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: Module -> () #

Generic Module Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep Module 
Instance details

Defined in Aihc.Parser.Syntax

type Rep Module = D1 ('MetaData "Module" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "Module" 'PrefixI 'True) ((S1 ('MetaSel ('Just "moduleSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Just "moduleHead") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ModuleHead))) :*: (S1 ('MetaSel ('Just "moduleLanguagePragmas") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ExtensionSetting]) :*: (S1 ('MetaSel ('Just "moduleImports") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ImportDecl]) :*: S1 ('MetaSel ('Just "moduleDecls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Decl])))))

Methods

from :: Module -> Rep Module x #

to :: Rep Module x -> Module #

Show Module Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq Module Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

Pretty Module Source #

Pretty instance for Module - renders to valid Haskell source code.

Instance details

Defined in Aihc.Parser.Pretty

Methods

pretty :: Module -> Doc ann Source #

prettyList :: [Module] -> Doc ann Source #

type Rep Module Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep Module = D1 ('MetaData "Module" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "Module" 'PrefixI 'True) ((S1 ('MetaSel ('Just "moduleSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Just "moduleHead") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ModuleHead))) :*: (S1 ('MetaSel ('Just "moduleLanguagePragmas") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ExtensionSetting]) :*: (S1 ('MetaSel ('Just "moduleImports") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ImportDecl]) :*: S1 ('MetaSel ('Just "moduleDecls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Decl])))))

data ModuleHead Source #

Instances

Instances details
HasSourceSpan ModuleHead Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData ModuleHead Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: ModuleHead -> () #

Generic ModuleHead Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep ModuleHead 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ModuleHead = D1 ('MetaData "ModuleHead" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "ModuleHead" 'PrefixI 'True) ((S1 ('MetaSel ('Just "moduleHeadSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Just "moduleHeadName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "moduleHeadWarningText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe WarningText)) :*: S1 ('MetaSel ('Just "moduleHeadExports") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [ExportSpec])))))
Show ModuleHead Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq ModuleHead Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ModuleHead Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ModuleHead = D1 ('MetaData "ModuleHead" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "ModuleHead" 'PrefixI 'True) ((S1 ('MetaSel ('Just "moduleHeadSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Just "moduleHeadName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "moduleHeadWarningText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe WarningText)) :*: S1 ('MetaSel ('Just "moduleHeadExports") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [ExportSpec])))))

data WarningText Source #

Instances

Instances details
HasSourceSpan WarningText Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData WarningText Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: WarningText -> () #

Generic WarningText Source # 
Instance details

Defined in Aihc.Parser.Syntax

Show WarningText Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq WarningText Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep WarningText Source # 
Instance details

Defined in Aihc.Parser.Syntax

data NewtypeDecl Source #

Instances

Instances details
HasSourceSpan NewtypeDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData NewtypeDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: NewtypeDecl -> () #

Data NewtypeDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: NewtypeDecl -> Constr #

dataTypeOf :: NewtypeDecl -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic NewtypeDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep NewtypeDecl 
Instance details

Defined in Aihc.Parser.Syntax

type Rep NewtypeDecl = D1 ('MetaData "NewtypeDecl" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "NewtypeDecl" 'PrefixI 'True) ((S1 ('MetaSel ('Just "newtypeDeclSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Just "newtypeDeclContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constraint]) :*: S1 ('MetaSel ('Just "newtypeDeclName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "newtypeDeclParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TyVarBinder]) :*: (S1 ('MetaSel ('Just "newtypeDeclConstructor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DataConDecl)) :*: S1 ('MetaSel ('Just "newtypeDeclDeriving") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [DerivingClause])))))
Show NewtypeDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq NewtypeDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep NewtypeDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep NewtypeDecl = D1 ('MetaData "NewtypeDecl" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "NewtypeDecl" 'PrefixI 'True) ((S1 ('MetaSel ('Just "newtypeDeclSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Just "newtypeDeclContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constraint]) :*: S1 ('MetaSel ('Just "newtypeDeclName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "newtypeDeclParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TyVarBinder]) :*: (S1 ('MetaSel ('Just "newtypeDeclConstructor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DataConDecl)) :*: S1 ('MetaSel ('Just "newtypeDeclDeriving") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [DerivingClause])))))

data Pattern Source #

Instances

Instances details
Shorthand Pattern Source # 
Instance details

Defined in Aihc.Parser.Shorthand

Methods

shorthand :: Pattern -> Doc () Source #

HasSourceSpan Pattern Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData Pattern Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: Pattern -> () #

Data Pattern Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: Pattern -> Constr #

dataTypeOf :: Pattern -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic Pattern Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep Pattern 
Instance details

Defined in Aihc.Parser.Syntax

type Rep Pattern = D1 ('MetaData "Pattern" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (((C1 ('MetaCons "PVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: (C1 ('MetaCons "PWildcard" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan)) :+: C1 ('MetaCons "PLit" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Literal)))) :+: ((C1 ('MetaCons "PQuasiQuote" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "PTuple" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Pattern]))) :+: (C1 ('MetaCons "PList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Pattern])) :+: C1 ('MetaCons "PCon" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Pattern])))))) :+: (((C1 ('MetaCons "PInfix" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern))) :+: C1 ('MetaCons "PView" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern)))) :+: (C1 ('MetaCons "PAs" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern))) :+: C1 ('MetaCons "PStrict" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern)))) :+: ((C1 ('MetaCons "PIrrefutable" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern)) :+: C1 ('MetaCons "PNegLit" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Literal))) :+: (C1 ('MetaCons "PParen" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern)) :+: C1 ('MetaCons "PRecord" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Text, Pattern)])))))))

Methods

from :: Pattern -> Rep Pattern x #

to :: Rep Pattern x -> Pattern #

Show Pattern Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq Pattern Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

Pretty Pattern Source #

Pretty instance for Pattern - renders to valid Haskell source code.

Instance details

Defined in Aihc.Parser.Pretty

Methods

pretty :: Pattern -> Doc ann Source #

prettyList :: [Pattern] -> Doc ann Source #

type Rep Pattern Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep Pattern = D1 ('MetaData "Pattern" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (((C1 ('MetaCons "PVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: (C1 ('MetaCons "PWildcard" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan)) :+: C1 ('MetaCons "PLit" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Literal)))) :+: ((C1 ('MetaCons "PQuasiQuote" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "PTuple" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Pattern]))) :+: (C1 ('MetaCons "PList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Pattern])) :+: C1 ('MetaCons "PCon" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Pattern])))))) :+: (((C1 ('MetaCons "PInfix" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern)) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern))) :+: C1 ('MetaCons "PView" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern)))) :+: (C1 ('MetaCons "PAs" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern))) :+: C1 ('MetaCons "PStrict" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern)))) :+: ((C1 ('MetaCons "PIrrefutable" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern)) :+: C1 ('MetaCons "PNegLit" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Literal))) :+: (C1 ('MetaCons "PParen" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern)) :+: C1 ('MetaCons "PRecord" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Text, Pattern)])))))))

data Rhs Source #

Instances

Instances details
HasSourceSpan Rhs Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData Rhs Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: Rhs -> () #

Data Rhs Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: Rhs -> Constr #

dataTypeOf :: Rhs -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic Rhs Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

from :: Rhs -> Rep Rhs x #

to :: Rep Rhs x -> Rhs #

Show Rhs Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

showsPrec :: Int -> Rhs -> ShowS #

show :: Rhs -> String #

showList :: [Rhs] -> ShowS #

Eq Rhs Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

type Rep Rhs Source # 
Instance details

Defined in Aihc.Parser.Syntax

class HasSourceSpan a where Source #

Instances

Instances details
HasSourceSpan ArithSeq Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan BangType Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan CaseAlt Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan ClassDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan ClassDeclItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan CompStmt Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan Constraint Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan DataConDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan DataDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan Decl Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan DoStmt Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan Expr Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan FieldDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan ForeignDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan GuardQualifier Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan GuardedRhs Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan ImportDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan ImportSpec Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan InstanceDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan InstanceDeclItem Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan Literal Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan Match Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan Module Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan ModuleHead Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan NewtypeDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan Pattern Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan Rhs Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan StandaloneDerivingDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan TyVarBinder Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan Type Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan TypeSynDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan ValueDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

HasSourceSpan WarningText Source # 
Instance details

Defined in Aihc.Parser.Syntax

data SourceSpan Source #

Instances

Instances details
NFData SourceSpan Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: SourceSpan -> () #

Data SourceSpan Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: SourceSpan -> Constr #

dataTypeOf :: SourceSpan -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic SourceSpan Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep SourceSpan 
Instance details

Defined in Aihc.Parser.Syntax

type Rep SourceSpan = D1 ('MetaData "SourceSpan" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "NoSourceSpan" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SourceSpan" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sourceSpanStartLine") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "sourceSpanStartCol") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "sourceSpanEndLine") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "sourceSpanEndCol") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int))))
Show SourceSpan Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq SourceSpan Source # 
Instance details

Defined in Aihc.Parser.Syntax

Ord SourceSpan Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep SourceSpan Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep SourceSpan = D1 ('MetaData "SourceSpan" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "NoSourceSpan" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SourceSpan" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sourceSpanStartLine") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "sourceSpanStartCol") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "sourceSpanEndLine") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "sourceSpanEndCol") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int))))

data StandaloneDerivingDecl Source #

Instances

Instances details
HasSourceSpan StandaloneDerivingDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData StandaloneDerivingDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: StandaloneDerivingDecl -> () #

Data StandaloneDerivingDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: StandaloneDerivingDecl -> Constr #

dataTypeOf :: StandaloneDerivingDecl -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic StandaloneDerivingDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep StandaloneDerivingDecl 
Instance details

Defined in Aihc.Parser.Syntax

type Rep StandaloneDerivingDecl = D1 ('MetaData "StandaloneDerivingDecl" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "StandaloneDerivingDecl" 'PrefixI 'True) ((S1 ('MetaSel ('Just "standaloneDerivingSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Just "standaloneDerivingStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DerivingStrategy))) :*: (S1 ('MetaSel ('Just "standaloneDerivingContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constraint]) :*: (S1 ('MetaSel ('Just "standaloneDerivingClassName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "standaloneDerivingTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Type])))))
Show StandaloneDerivingDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq StandaloneDerivingDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep StandaloneDerivingDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep StandaloneDerivingDecl = D1 ('MetaData "StandaloneDerivingDecl" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "StandaloneDerivingDecl" 'PrefixI 'True) ((S1 ('MetaSel ('Just "standaloneDerivingSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Just "standaloneDerivingStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DerivingStrategy))) :*: (S1 ('MetaSel ('Just "standaloneDerivingContext") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constraint]) :*: (S1 ('MetaSel ('Just "standaloneDerivingClassName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "standaloneDerivingTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Type])))))

data Type Source #

Instances

Instances details
Shorthand Type Source # 
Instance details

Defined in Aihc.Parser.Shorthand

Methods

shorthand :: Type -> Doc () Source #

HasSourceSpan Type Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData Type Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: Type -> () #

Data Type Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: Type -> Constr #

dataTypeOf :: Type -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic Type Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep Type 
Instance details

Defined in Aihc.Parser.Syntax

type Rep Type = D1 ('MetaData "Type" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (((C1 ('MetaCons "TVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: (C1 ('MetaCons "TCon" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypePromotion))) :+: C1 ('MetaCons "TTypeLit" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypeLiteral)))) :+: (C1 ('MetaCons "TStar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan)) :+: (C1 ('MetaCons "TQuasiQuote" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "TForall" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)))))) :+: ((C1 ('MetaCons "TApp" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: (C1 ('MetaCons "TFun" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: C1 ('MetaCons "TTuple" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypePromotion) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Type]))))) :+: (C1 ('MetaCons "TList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypePromotion) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: (C1 ('MetaCons "TParen" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :+: C1 ('MetaCons "TContext" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constraint]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)))))))

Methods

from :: Type -> Rep Type x #

to :: Rep Type x -> Type #

Show Type Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

showsPrec :: Int -> Type -> ShowS #

show :: Type -> String #

showList :: [Type] -> ShowS #

Eq Type Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

Pretty Type Source #

Pretty instance for Type - renders to valid Haskell source code.

Instance details

Defined in Aihc.Parser.Pretty

Methods

pretty :: Type -> Doc ann Source #

prettyList :: [Type] -> Doc ann Source #

type Rep Type Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep Type = D1 ('MetaData "Type" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (((C1 ('MetaCons "TVar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: (C1 ('MetaCons "TCon" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypePromotion))) :+: C1 ('MetaCons "TTypeLit" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypeLiteral)))) :+: (C1 ('MetaCons "TStar" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan)) :+: (C1 ('MetaCons "TQuasiQuote" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :+: C1 ('MetaCons "TForall" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)))))) :+: ((C1 ('MetaCons "TApp" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: (C1 ('MetaCons "TFun" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: C1 ('MetaCons "TTuple" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypePromotion) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Type]))))) :+: (C1 ('MetaCons "TList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypePromotion) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: (C1 ('MetaCons "TParen" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :+: C1 ('MetaCons "TContext" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constraint]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)))))))

data TypeLiteral Source #

Instances

Instances details
NFData TypeLiteral Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: TypeLiteral -> () #

Data TypeLiteral Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: TypeLiteral -> Constr #

dataTypeOf :: TypeLiteral -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic TypeLiteral Source # 
Instance details

Defined in Aihc.Parser.Syntax

Show TypeLiteral Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq TypeLiteral Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep TypeLiteral Source # 
Instance details

Defined in Aihc.Parser.Syntax

data TypePromotion Source #

Constructors

Unpromoted 
Promoted 

Instances

Instances details
NFData TypePromotion Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: TypePromotion -> () #

Data TypePromotion Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: TypePromotion -> Constr #

dataTypeOf :: TypePromotion -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic TypePromotion Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep TypePromotion 
Instance details

Defined in Aihc.Parser.Syntax

type Rep TypePromotion = D1 ('MetaData "TypePromotion" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "Unpromoted" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Promoted" 'PrefixI 'False) (U1 :: Type -> Type))
Show TypePromotion Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq TypePromotion Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep TypePromotion Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep TypePromotion = D1 ('MetaData "TypePromotion" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "Unpromoted" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Promoted" 'PrefixI 'False) (U1 :: Type -> Type))

data TyVarBinder Source #

Instances

Instances details
HasSourceSpan TyVarBinder Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData TyVarBinder Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: TyVarBinder -> () #

Data TyVarBinder Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: TyVarBinder -> Constr #

dataTypeOf :: TyVarBinder -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic TyVarBinder Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep TyVarBinder 
Instance details

Defined in Aihc.Parser.Syntax

type Rep TyVarBinder = D1 ('MetaData "TyVarBinder" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "TyVarBinder" 'PrefixI 'True) (S1 ('MetaSel ('Just "tyVarBinderSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Just "tyVarBinderName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "tyVarBinderKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Type)))))
Show TyVarBinder Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq TyVarBinder Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep TyVarBinder Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep TyVarBinder = D1 ('MetaData "TyVarBinder" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "TyVarBinder" 'PrefixI 'True) (S1 ('MetaSel ('Just "tyVarBinderSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: (S1 ('MetaSel ('Just "tyVarBinderName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "tyVarBinderKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Type)))))

data TypeSynDecl Source #

Instances

Instances details
HasSourceSpan TypeSynDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData TypeSynDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: TypeSynDecl -> () #

Data TypeSynDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: TypeSynDecl -> Constr #

dataTypeOf :: TypeSynDecl -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic TypeSynDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Associated Types

type Rep TypeSynDecl 
Instance details

Defined in Aihc.Parser.Syntax

type Rep TypeSynDecl = D1 ('MetaData "TypeSynDecl" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "TypeSynDecl" 'PrefixI 'True) ((S1 ('MetaSel ('Just "typeSynSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Just "typeSynName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "typeSynParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TyVarBinder]) :*: S1 ('MetaSel ('Just "typeSynBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))))
Show TypeSynDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq TypeSynDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep TypeSynDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep TypeSynDecl = D1 ('MetaData "TypeSynDecl" "Aihc.Parser.Syntax" "aihc-parser-0.1.0.0-DMgbIAjzuEdJKCHQvjmdks" 'False) (C1 ('MetaCons "TypeSynDecl" 'PrefixI 'True) ((S1 ('MetaSel ('Just "typeSynSpan") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SourceSpan) :*: S1 ('MetaSel ('Just "typeSynName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "typeSynParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TyVarBinder]) :*: S1 ('MetaSel ('Just "typeSynBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))))

data ValueDecl Source #

Instances

Instances details
HasSourceSpan ValueDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

NFData ValueDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

rnf :: ValueDecl -> () #

Data ValueDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Methods

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

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

toConstr :: ValueDecl -> Constr #

dataTypeOf :: ValueDecl -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic ValueDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Show ValueDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

Eq ValueDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

type Rep ValueDecl Source # 
Instance details

Defined in Aihc.Parser.Syntax

gadtBodyResultType :: GadtBody -> Type Source #

Get the result type from a GADT body