Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data NumericBasicType k where Source #
data ComparableBasicTypes k1 k2 where Source #
CBTNum :: NumericBasicType k1 -> NumericBasicType k2 -> ComparableBasicTypes k1 k2 | |
CBTBool :: ComparableBasicTypes 'BTLogical 'BTLogical | |
CBTChar :: ComparableBasicTypes 'BTChar 'BTChar |
data OpSpec ok args result where Source #
OpLit :: Op 0 'OKLit | |
OpNeg :: Op 1 'OKNum | |
OpPos :: Op 1 'OKNum | |
OpAdd :: Op 2 'OKNum | |
OpSub :: Op 2 'OKNum | |
OpMul :: Op 2 'OKNum | |
OpDiv :: Op 2 'OKNum | |
OpEq :: Op 2 'OKEq | |
OpNE :: Op 2 'OKEq | |
OpLT :: Op 2 'OKRel | |
OpLE :: Op 2 'OKRel | |
OpGT :: Op 2 'OKRel | |
OpGE :: Op 2 'OKRel | |
OpNot :: Op 1 'OKLogical | |
OpAnd :: Op 2 'OKLogical | |
OpOr :: Op 2 'OKLogical | |
OpEquiv :: Op 2 'OKLogical | |
OpNotEquiv :: Op 2 'OKLogical | |
OpLookup :: Op 2 'OKLookup | |
OpDeref :: Op 1 'OKDeref |