Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RSTT.Syntax.Abs
Description
The abstract syntax of language Syntax.
Documentation
Constructors
DeclCube Label [PointConDecl] | |
DeclTopePrefix Label [Cube] [TopeRule] | |
DeclShape Var Shape | |
DeclCommandProve Sequent | |
DeclCommandRenderLatex Shape |
Constructors
Shape PointPattern Cube Tope |
data PointPattern Source #
Constructors
PointPatternVar Var | |
PointPatternPair PointPattern PointPattern |
Instances
Read PointPattern Source # | |
Defined in RSTT.Syntax.Abs Methods readsPrec :: Int -> ReadS PointPattern # readList :: ReadS [PointPattern] # | |
Show PointPattern Source # | |
Defined in RSTT.Syntax.Abs Methods showsPrec :: Int -> PointPattern -> ShowS # show :: PointPattern -> String # showList :: [PointPattern] -> ShowS # | |
Eq PointPattern Source # | |
Defined in RSTT.Syntax.Abs | |
Ord PointPattern Source # | |
Defined in RSTT.Syntax.Abs Methods compare :: PointPattern -> PointPattern -> Ordering # (<) :: PointPattern -> PointPattern -> Bool # (<=) :: PointPattern -> PointPattern -> Bool # (>) :: PointPattern -> PointPattern -> Bool # (>=) :: PointPattern -> PointPattern -> Bool # max :: PointPattern -> PointPattern -> PointPattern # min :: PointPattern -> PointPattern -> PointPattern # | |
Print PointPattern Source # | |
Defined in RSTT.Syntax.Print |
data PointConDecl Source #
Constructors
NullaryPointConDecl Label | |
PrefixPointConDecl Label [Cube] |
Instances
Read PointConDecl Source # | |
Defined in RSTT.Syntax.Abs Methods readsPrec :: Int -> ReadS PointConDecl # readList :: ReadS [PointConDecl] # | |
Show PointConDecl Source # | |
Defined in RSTT.Syntax.Abs Methods showsPrec :: Int -> PointConDecl -> ShowS # show :: PointConDecl -> String # showList :: [PointConDecl] -> ShowS # | |
Eq PointConDecl Source # | |
Defined in RSTT.Syntax.Abs | |
Ord PointConDecl Source # | |
Defined in RSTT.Syntax.Abs Methods compare :: PointConDecl -> PointConDecl -> Ordering # (<) :: PointConDecl -> PointConDecl -> Bool # (<=) :: PointConDecl -> PointConDecl -> Bool # (>) :: PointConDecl -> PointConDecl -> Bool # (>=) :: PointConDecl -> PointConDecl -> Bool # max :: PointConDecl -> PointConDecl -> PointConDecl # min :: PointConDecl -> PointConDecl -> PointConDecl # | |
Print PointConDecl Source # | |
Defined in RSTT.Syntax.Print | |
Print [PointConDecl] Source # | |
Defined in RSTT.Syntax.Print |
Constructors
Sequent CubeContext TopeContext Tope |
data CubeContext Source #
Constructors
CubeContextEmpty | |
CubeContextNonEmpty [PointDecl] |
Instances
Read CubeContext Source # | |
Defined in RSTT.Syntax.Abs Methods readsPrec :: Int -> ReadS CubeContext # readList :: ReadS [CubeContext] # readPrec :: ReadPrec CubeContext # readListPrec :: ReadPrec [CubeContext] # | |
Show CubeContext Source # | |
Defined in RSTT.Syntax.Abs Methods showsPrec :: Int -> CubeContext -> ShowS # show :: CubeContext -> String # showList :: [CubeContext] -> ShowS # | |
Eq CubeContext Source # | |
Defined in RSTT.Syntax.Abs | |
Ord CubeContext Source # | |
Defined in RSTT.Syntax.Abs Methods compare :: CubeContext -> CubeContext -> Ordering # (<) :: CubeContext -> CubeContext -> Bool # (<=) :: CubeContext -> CubeContext -> Bool # (>) :: CubeContext -> CubeContext -> Bool # (>=) :: CubeContext -> CubeContext -> Bool # max :: CubeContext -> CubeContext -> CubeContext # min :: CubeContext -> CubeContext -> CubeContext # | |
Print CubeContext Source # | |
Defined in RSTT.Syntax.Print |
Instances
Read PointDecl Source # | |
Show PointDecl Source # | |
Eq PointDecl Source # | |
Ord PointDecl Source # | |
Print PointDecl Source # | |
Print [PointDecl] Source # | |
data TopeContext Source #
Constructors
TopeContextEmpty | |
TopeContextNonEmpty [Tope] |
Instances
Read TopeContext Source # | |
Defined in RSTT.Syntax.Abs Methods readsPrec :: Int -> ReadS TopeContext # readList :: ReadS [TopeContext] # readPrec :: ReadPrec TopeContext # readListPrec :: ReadPrec [TopeContext] # | |
Show TopeContext Source # | |
Defined in RSTT.Syntax.Abs Methods showsPrec :: Int -> TopeContext -> ShowS # show :: TopeContext -> String # showList :: [TopeContext] -> ShowS # | |
Eq TopeContext Source # | |
Defined in RSTT.Syntax.Abs | |
Ord TopeContext Source # | |
Defined in RSTT.Syntax.Abs Methods compare :: TopeContext -> TopeContext -> Ordering # (<) :: TopeContext -> TopeContext -> Bool # (<=) :: TopeContext -> TopeContext -> Bool # (>) :: TopeContext -> TopeContext -> Bool # (>=) :: TopeContext -> TopeContext -> Bool # max :: TopeContext -> TopeContext -> TopeContext # min :: TopeContext -> TopeContext -> TopeContext # | |
Print TopeContext Source # | |
Defined in RSTT.Syntax.Print |
Constructors
TopeTop | |
TopeBottom | |
TopeImplies Tope Tope | |
TopeOr Tope Tope | |
TopeAnd Tope Tope | |
TopeEQ Point Point | |
TopeCon Label [Point] | |
TopeVar Var |
Constructors
PointUnit | |
PointPair Point Point | |
PointFirst Point | |
PointSecond Point | |
PointCon Label [Point] | |
PointVar Var |
nullaryPoint :: Label -> Point Source #