Copyright | (c) Dominik Dietrich Ewaryst Schulz DFKI Bremen 2010 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Ewaryst.Schulz@dfki.de |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
This module contains the abstract syntax types for EnCL as well as the predefined operator configuration.
Synopsis
- data EXPRESSION
- data EXTPARAM = EP Token String APInt
- data BASIC_ITEM
- newtype BASIC_SPEC = Basic_spec [Annoted BASIC_ITEM]
- data SYMB_ITEMS = Symb_items [SYMB] Range
- newtype SYMB = Symb_id Token
- data SYMB_MAP_ITEMS = Symb_map_items [SYMB_OR_MAP] Range
- data SYMB_OR_MAP
- data OPNAME
- = OP_mult
- | OP_div
- | OP_plus
- | OP_minus
- | OP_neg
- | OP_pow
- | OP_fthrt
- | OP_sqrt
- | OP_abs
- | OP_max
- | OP_min
- | OP_sign
- | OP_cos
- | OP_sin
- | OP_tan
- | OP_cot
- | OP_Pi
- | OP_reldist
- | OP_minimize
- | OP_minloc
- | OP_maximize
- | OP_maxloc
- | OP_factor
- | OP_approx
- | OP_divide
- | OP_factorize
- | OP_int
- | OP_rlqe
- | OP_simplify
- | OP_solve
- | OP_neq
- | OP_lt
- | OP_leq
- | OP_eq
- | OP_gt
- | OP_geq
- | OP_convergence
- | OP_reldistLe
- | OP_in
- | OP_undef
- | OP_failure
- | OP_false
- | OP_true
- | OP_not
- | OP_and
- | OP_or
- | OP_impl
- | OP_ex
- | OP_all
- | OP_hastype
- | OP_real
- data OPID
- data ConstantName
- = SimpleConstant String
- | ElimConstant String Int
- data OP_ITEM = Op_item [Token] Range
- data VAR_ITEM = Var_item [Token] Domain Range
- data VarDecl = VarDecl Token (Maybe Domain)
- data OpDecl = OpDecl ConstantName [EXTPARAM] [VarDecl] Range
- data EPDecl = EPDecl Token EPDomain (Maybe APInt)
- data EPVal
- getEPVarRef :: EPVal -> Maybe Token
- type Domain = SetOrInterval GroundConstant
- type EPDomain = ClosedInterval EPVal
- data GroundConstant
- cmpFloatToInt :: APFloat -> APInt -> Ordering
- data AssDefinition
- = ConstDef EXPRESSION
- | FunDef [String] EXPRESSION
- data InstantiatedConstant = InstantiatedConstant {}
- data CMD
- = Ass OpDecl EXPRESSION
- | Cmd String [EXPRESSION]
- | Sequence [CMD]
- | Cond [(EXPRESSION, [CMD])]
- | Repeat EXPRESSION [CMD]
- class OperatorState a where
- addVar :: a -> String -> a
- isVar :: a -> String -> Bool
- lookupOperator :: a -> String -> Int -> Either Bool OpInfo
- lookupBinder :: a -> String -> Maybe OpInfo
- data OpInfo = OpInfo {}
- data BindInfo = BindInfo {
- bindingVarPos :: [Int]
- boundBodyPos :: [Int]
- operatorInfo :: [OpInfo]
- operatorInfoMap :: OpInfoMap
- operatorInfoNameMap :: OpInfoNameMap
- operatorBindInfoMap :: BindInfoMap
- mergeOpArityMap :: Ord a => OpInfoArityMap a -> OpInfoArityMap a -> OpInfoArityMap a
- getOpInfoMap :: (OpInfo -> String) -> [OpInfo] -> OpInfoMap
- getOpInfoNameMap :: [OpInfo] -> OpInfoNameMap
- getBindInfoMap :: [OpInfo] -> BindInfoMap
- lookupOpInfo :: OpInfoNameMap -> OPID -> Int -> Either Bool OpInfo
- lookupOpInfoForParsing :: OpInfoMap -> String -> Int -> Either Bool OpInfo
- lookupBindInfo :: OpInfoNameMap -> OPID -> Int -> Maybe BindInfo
- type APInt = Integer
- type APFloat = Rational
- toFraction :: APFloat -> (Integer, Integer)
- fromFraction :: Integer -> Integer -> APFloat
- type OpInfoMap = OpInfoArityMap String
- type OpInfoNameMap = OpInfoArityMap OPNAME
- type BindInfoMap = Map String OpInfo
- showOPNAME :: OPNAME -> String
- maxPrecedence :: Int
Documentation
data EXPRESSION Source #
Datatype for expressions
Var Token | |
Op OPID [EXTPARAM] [EXPRESSION] Range | |
List [EXPRESSION] Range | |
Interval Double Double Range | |
Int APInt Range | |
Rat APFloat Range |
Instances
Eq EXPRESSION Source # | |
Defined in CSL.AS_BASIC_CSL (==) :: EXPRESSION -> EXPRESSION -> Bool (/=) :: EXPRESSION -> EXPRESSION -> Bool | |
Data EXPRESSION Source # | |
Defined in CSL.AS_BASIC_CSL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EXPRESSION -> c EXPRESSION gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EXPRESSION toConstr :: EXPRESSION -> Constr dataTypeOf :: EXPRESSION -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EXPRESSION) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EXPRESSION) gmapT :: (forall b. Data b => b -> b) -> EXPRESSION -> EXPRESSION gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EXPRESSION -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EXPRESSION -> r gmapQ :: (forall d. Data d => d -> u) -> EXPRESSION -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> EXPRESSION -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> EXPRESSION -> m EXPRESSION gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EXPRESSION -> m EXPRESSION gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EXPRESSION -> m EXPRESSION | |
Ord EXPRESSION Source # | |
Defined in CSL.AS_BASIC_CSL compare :: EXPRESSION -> EXPRESSION -> Ordering (<) :: EXPRESSION -> EXPRESSION -> Bool (<=) :: EXPRESSION -> EXPRESSION -> Bool (>) :: EXPRESSION -> EXPRESSION -> Bool (>=) :: EXPRESSION -> EXPRESSION -> Bool max :: EXPRESSION -> EXPRESSION -> EXPRESSION min :: EXPRESSION -> EXPRESSION -> EXPRESSION | |
Show EXPRESSION Source # | |
Defined in CSL.AS_BASIC_CSL showsPrec :: Int -> EXPRESSION -> ShowS show :: EXPRESSION -> String showList :: [EXPRESSION] -> ShowS | |
Generic EXPRESSION | |
Defined in CSL.ATC_CSL type Rep EXPRESSION :: Type -> Type from :: EXPRESSION -> Rep EXPRESSION x to :: Rep EXPRESSION x -> EXPRESSION | |
GetRange EXPRESSION Source # | |
Defined in CSL.Print_AS getRange :: EXPRESSION -> Range Source # rangeSpan :: EXPRESSION -> [Pos] Source # | |
FromJSON EXPRESSION | |
Defined in CSL.ATC_CSL parseJSON :: Value -> Parser EXPRESSION parseJSONList :: Value -> Parser [EXPRESSION] | |
ToJSON EXPRESSION | |
Defined in CSL.ATC_CSL toJSON :: EXPRESSION -> Value toEncoding :: EXPRESSION -> Encoding toJSONList :: [EXPRESSION] -> Value toEncodingList :: [EXPRESSION] -> Encoding | |
ShATermConvertible EXPRESSION | |
Defined in CSL.ATC_CSL toShATermAux :: ATermTable -> EXPRESSION -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [EXPRESSION] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, EXPRESSION) fromShATermList' :: Int -> ATermTable -> (ATermTable, [EXPRESSION]) | |
Pretty EXPRESSION Source # | |
Defined in CSL.Print_AS pretty :: EXPRESSION -> Doc Source # pretties :: [EXPRESSION] -> Doc Source # | |
Logic CSL () BASIC_SPEC CMD SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol [EXPRESSION] Source # | Instance of Logic for reduce logc |
Defined in CSL.Logic_CSL parse_basic_sen :: CSL -> Maybe (BASIC_SPEC -> AParser st CMD) Source # stability :: CSL -> Stability Source # data_logic :: CSL -> Maybe AnyLogic Source # top_sublogic :: CSL -> () Source # all_sublogics :: CSL -> [()] Source # bottomSublogic :: CSL -> Maybe () Source # sublogicDimensions :: CSL -> [[()]] Source # parseSublogic :: CSL -> String -> Maybe () Source # proj_sublogic_epsilon :: CSL -> () -> Sign -> Morphism Source # provers :: CSL -> [Prover Sign CMD Morphism () [EXPRESSION]] Source # default_prover :: CSL -> String Source # cons_checkers :: CSL -> [ConsChecker Sign CMD () Morphism [EXPRESSION]] Source # conservativityCheck :: CSL -> [ConservativityChecker Sign CMD Morphism] Source # empty_proof_tree :: CSL -> [EXPRESSION] Source # syntaxTable :: CSL -> Sign -> Maybe SyntaxTable Source # omdoc_metatheory :: CSL -> Maybe OMCD Source # export_symToOmdoc :: CSL -> NameMap Symbol -> Symbol -> String -> Result TCElement Source # export_senToOmdoc :: CSL -> NameMap Symbol -> CMD -> Result TCorOMElement Source # export_theoryToOmdoc :: CSL -> SigMap Symbol -> Sign -> [Named CMD] -> Result [TCElement] Source # omdocToSym :: CSL -> SigMapI Symbol -> TCElement -> String -> Result Symbol Source # omdocToSen :: CSL -> SigMapI Symbol -> TCElement -> String -> Result (Maybe (Named CMD)) Source # addOMadtToTheory :: CSL -> SigMapI Symbol -> (Sign, [Named CMD]) -> [[OmdADT]] -> Result (Sign, [Named CMD]) Source # addOmdocToTheory :: CSL -> SigMapI Symbol -> (Sign, [Named CMD]) -> [TCElement] -> Result (Sign, [Named CMD]) Source # | |
type Rep EXPRESSION | |
Defined in CSL.ATC_CSL type Rep EXPRESSION = D1 ('MetaData "EXPRESSION" "CSL.AS_BASIC_CSL" "main" 'False) ((C1 ('MetaCons "Var" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Token)) :+: (C1 ('MetaCons "Op" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OPID) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [EXTPARAM])) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [EXPRESSION]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: C1 ('MetaCons "List" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [EXPRESSION]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) :+: (C1 ('MetaCons "Interval" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) :+: (C1 ('MetaCons "Int" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 APInt) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)) :+: C1 ('MetaCons "Rat" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 APFloat) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))))) |
Extended Parameter Datatype
Instances
Eq EXTPARAM Source # | |
Data EXTPARAM Source # | |
Defined in CSL.AS_BASIC_CSL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EXTPARAM -> c EXTPARAM gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EXTPARAM toConstr :: EXTPARAM -> Constr dataTypeOf :: EXTPARAM -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EXTPARAM) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EXTPARAM) gmapT :: (forall b. Data b => b -> b) -> EXTPARAM -> EXTPARAM gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EXTPARAM -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EXTPARAM -> r gmapQ :: (forall d. Data d => d -> u) -> EXTPARAM -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> EXTPARAM -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> EXTPARAM -> m EXTPARAM gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EXTPARAM -> m EXTPARAM gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EXTPARAM -> m EXTPARAM | |
Ord EXTPARAM Source # | |
Show EXTPARAM Source # | |
Generic EXTPARAM | |
FromJSON EXTPARAM | |
Defined in CSL.ATC_CSL parseJSON :: Value -> Parser EXTPARAM parseJSONList :: Value -> Parser [EXTPARAM] | |
ToJSON EXTPARAM | |
Defined in CSL.ATC_CSL toEncoding :: EXTPARAM -> Encoding toJSONList :: [EXTPARAM] -> Value toEncodingList :: [EXTPARAM] -> Encoding | |
ShATermConvertible EXTPARAM | |
Defined in CSL.ATC_CSL toShATermAux :: ATermTable -> EXTPARAM -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [EXTPARAM] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, EXTPARAM) fromShATermList' :: Int -> ATermTable -> (ATermTable, [EXTPARAM]) | |
Pretty EXTPARAM Source # | |
type Rep EXTPARAM | |
Defined in CSL.ATC_CSL type Rep EXTPARAM = D1 ('MetaData "EXTPARAM" "CSL.AS_BASIC_CSL" "main" 'False) (C1 ('MetaCons "EP" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Token) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 APInt)))) |
data BASIC_ITEM Source #
basic items: an operator, extended parameter or variable declaration or an axiom
Op_decl OP_ITEM | |
EP_decl [(Token, EPDomain)] | |
EP_domdecl [(Token, APInt)] | |
EP_defval [(Token, APInt)] | |
Var_decls [VAR_ITEM] | |
Axiom_item (Annoted CMD) |
Instances
Data BASIC_ITEM Source # | |
Defined in CSL.AS_BASIC_CSL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BASIC_ITEM -> c BASIC_ITEM gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BASIC_ITEM toConstr :: BASIC_ITEM -> Constr dataTypeOf :: BASIC_ITEM -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BASIC_ITEM) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BASIC_ITEM) gmapT :: (forall b. Data b => b -> b) -> BASIC_ITEM -> BASIC_ITEM gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BASIC_ITEM -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BASIC_ITEM -> r gmapQ :: (forall d. Data d => d -> u) -> BASIC_ITEM -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> BASIC_ITEM -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> BASIC_ITEM -> m BASIC_ITEM gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BASIC_ITEM -> m BASIC_ITEM gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BASIC_ITEM -> m BASIC_ITEM | |
Show BASIC_ITEM Source # | |
Defined in CSL.AS_BASIC_CSL showsPrec :: Int -> BASIC_ITEM -> ShowS show :: BASIC_ITEM -> String showList :: [BASIC_ITEM] -> ShowS | |
Generic BASIC_ITEM | |
Defined in CSL.ATC_CSL type Rep BASIC_ITEM :: Type -> Type from :: BASIC_ITEM -> Rep BASIC_ITEM x to :: Rep BASIC_ITEM x -> BASIC_ITEM | |
GetRange BASIC_ITEM Source # | |
Defined in CSL.Print_AS getRange :: BASIC_ITEM -> Range Source # rangeSpan :: BASIC_ITEM -> [Pos] Source # | |
FromJSON BASIC_ITEM | |
Defined in CSL.ATC_CSL parseJSON :: Value -> Parser BASIC_ITEM parseJSONList :: Value -> Parser [BASIC_ITEM] | |
ToJSON BASIC_ITEM | |
Defined in CSL.ATC_CSL toJSON :: BASIC_ITEM -> Value toEncoding :: BASIC_ITEM -> Encoding toJSONList :: [BASIC_ITEM] -> Value toEncodingList :: [BASIC_ITEM] -> Encoding | |
ShATermConvertible BASIC_ITEM | |
Defined in CSL.ATC_CSL toShATermAux :: ATermTable -> BASIC_ITEM -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [BASIC_ITEM] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, BASIC_ITEM) fromShATermList' :: Int -> ATermTable -> (ATermTable, [BASIC_ITEM]) | |
Pretty BASIC_ITEM Source # | |
Defined in CSL.Print_AS pretty :: BASIC_ITEM -> Doc Source # pretties :: [BASIC_ITEM] -> Doc Source # | |
type Rep BASIC_ITEM | |
Defined in CSL.ATC_CSL type Rep BASIC_ITEM = D1 ('MetaData "BASIC_ITEM" "CSL.AS_BASIC_CSL" "main" 'False) ((C1 ('MetaCons "Op_decl" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OP_ITEM)) :+: (C1 ('MetaCons "EP_decl" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Token, EPDomain)])) :+: C1 ('MetaCons "EP_domdecl" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Token, APInt)])))) :+: (C1 ('MetaCons "EP_defval" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Token, APInt)])) :+: (C1 ('MetaCons "Var_decls" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [VAR_ITEM])) :+: C1 ('MetaCons "Axiom_item" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Annoted CMD)))))) |
newtype BASIC_SPEC Source #
Instances
data SYMB_ITEMS Source #
symbol lists for hiding
Instances
symbol for identifiers
Instances
Eq SYMB Source # | |
Data SYMB Source # | |
Defined in CSL.AS_BASIC_CSL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SYMB -> c SYMB gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SYMB dataTypeOf :: SYMB -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SYMB) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SYMB) gmapT :: (forall b. Data b => b -> b) -> SYMB -> SYMB gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SYMB -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SYMB -> r gmapQ :: (forall d. Data d => d -> u) -> SYMB -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> SYMB -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> SYMB -> m SYMB gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SYMB -> m SYMB gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SYMB -> m SYMB | |
Show SYMB Source # | |
Generic SYMB | |
GetRange SYMB Source # | |
FromJSON SYMB | |
Defined in CSL.ATC_CSL parseJSON :: Value -> Parser SYMB parseJSONList :: Value -> Parser [SYMB] | |
ToJSON SYMB | |
Defined in CSL.ATC_CSL | |
ShATermConvertible SYMB | |
Defined in CSL.ATC_CSL toShATermAux :: ATermTable -> SYMB -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SYMB] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SYMB) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SYMB]) | |
Pretty SYMB Source # | |
type Rep SYMB | |
Defined in CSL.ATC_CSL |
data SYMB_MAP_ITEMS Source #
symbol maps for renamings
Instances
data SYMB_OR_MAP Source #
symbol map or renaming (renaming then denotes the identity renaming)
Instances
Eq SYMB_OR_MAP Source # | |
Defined in CSL.AS_BASIC_CSL (==) :: SYMB_OR_MAP -> SYMB_OR_MAP -> Bool (/=) :: SYMB_OR_MAP -> SYMB_OR_MAP -> Bool | |
Data SYMB_OR_MAP Source # | |
Defined in CSL.AS_BASIC_CSL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SYMB_OR_MAP -> c SYMB_OR_MAP gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SYMB_OR_MAP toConstr :: SYMB_OR_MAP -> Constr dataTypeOf :: SYMB_OR_MAP -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SYMB_OR_MAP) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SYMB_OR_MAP) gmapT :: (forall b. Data b => b -> b) -> SYMB_OR_MAP -> SYMB_OR_MAP gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SYMB_OR_MAP -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SYMB_OR_MAP -> r gmapQ :: (forall d. Data d => d -> u) -> SYMB_OR_MAP -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> SYMB_OR_MAP -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> SYMB_OR_MAP -> m SYMB_OR_MAP gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SYMB_OR_MAP -> m SYMB_OR_MAP gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SYMB_OR_MAP -> m SYMB_OR_MAP | |
Show SYMB_OR_MAP Source # | |
Defined in CSL.AS_BASIC_CSL showsPrec :: Int -> SYMB_OR_MAP -> ShowS show :: SYMB_OR_MAP -> String showList :: [SYMB_OR_MAP] -> ShowS | |
Generic SYMB_OR_MAP | |
Defined in CSL.ATC_CSL type Rep SYMB_OR_MAP :: Type -> Type from :: SYMB_OR_MAP -> Rep SYMB_OR_MAP x to :: Rep SYMB_OR_MAP x -> SYMB_OR_MAP | |
GetRange SYMB_OR_MAP Source # | |
Defined in CSL.Print_AS getRange :: SYMB_OR_MAP -> Range Source # rangeSpan :: SYMB_OR_MAP -> [Pos] Source # | |
FromJSON SYMB_OR_MAP | |
Defined in CSL.ATC_CSL parseJSON :: Value -> Parser SYMB_OR_MAP parseJSONList :: Value -> Parser [SYMB_OR_MAP] | |
ToJSON SYMB_OR_MAP | |
Defined in CSL.ATC_CSL toJSON :: SYMB_OR_MAP -> Value toEncoding :: SYMB_OR_MAP -> Encoding toJSONList :: [SYMB_OR_MAP] -> Value toEncodingList :: [SYMB_OR_MAP] -> Encoding | |
ShATermConvertible SYMB_OR_MAP | |
Defined in CSL.ATC_CSL toShATermAux :: ATermTable -> SYMB_OR_MAP -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [SYMB_OR_MAP] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, SYMB_OR_MAP) fromShATermList' :: Int -> ATermTable -> (ATermTable, [SYMB_OR_MAP]) | |
Pretty SYMB_OR_MAP Source # | |
Defined in CSL.Print_AS pretty :: SYMB_OR_MAP -> Doc Source # pretties :: [SYMB_OR_MAP] -> Doc Source # | |
type Rep SYMB_OR_MAP | |
Defined in CSL.ATC_CSL type Rep SYMB_OR_MAP = D1 ('MetaData "SYMB_OR_MAP" "CSL.AS_BASIC_CSL" "main" 'False) (C1 ('MetaCons "Symb" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SYMB)) :+: C1 ('MetaCons "Symb_map" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SYMB) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SYMB) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) |
Instances
Eq OPNAME Source # | |
Data OPNAME Source # | |
Defined in CSL.AS_BASIC_CSL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OPNAME -> c OPNAME gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OPNAME dataTypeOf :: OPNAME -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OPNAME) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OPNAME) gmapT :: (forall b. Data b => b -> b) -> OPNAME -> OPNAME gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OPNAME -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OPNAME -> r gmapQ :: (forall d. Data d => d -> u) -> OPNAME -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OPNAME -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OPNAME -> m OPNAME gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OPNAME -> m OPNAME gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OPNAME -> m OPNAME | |
Ord OPNAME Source # | |
Show OPNAME Source # | |
Generic OPNAME | |
FromJSON OPNAME | |
Defined in CSL.ATC_CSL parseJSON :: Value -> Parser OPNAME parseJSONList :: Value -> Parser [OPNAME] | |
ToJSON OPNAME | |
Defined in CSL.ATC_CSL toEncoding :: OPNAME -> Encoding toJSONList :: [OPNAME] -> Value toEncodingList :: [OPNAME] -> Encoding | |
ShATermConvertible OPNAME | |
Defined in CSL.ATC_CSL toShATermAux :: ATermTable -> OPNAME -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OPNAME] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OPNAME) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OPNAME]) | |
ExpressionPrinter (Reader OpInfoNameMap) Source # | An |
Defined in CSL.Print_AS getOINM :: Reader OpInfoNameMap OpInfoNameMap Source # printConstant :: ConstantName -> Reader OpInfoNameMap Doc Source # printOpname :: OPNAME -> Reader OpInfoNameMap Doc Source # prefixMode :: Reader OpInfoNameMap Bool Source # printArgs :: [Doc] -> Reader OpInfoNameMap Doc Source # printArgPattern :: String -> Reader OpInfoNameMap Doc Source # printInterval :: Double -> Double -> Reader OpInfoNameMap Doc Source # printRational :: APFloat -> Reader OpInfoNameMap Doc Source # | |
type Rep OPNAME | |
Defined in CSL.ATC_CSL type Rep OPNAME = D1 ('MetaData "OPNAME" "CSL.AS_BASIC_CSL" "main" 'False) (((((C1 ('MetaCons "OP_mult" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OP_div" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OP_plus" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "OP_minus" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OP_neg" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OP_pow" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "OP_fthrt" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OP_sqrt" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OP_abs" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "OP_max" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OP_min" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OP_sign" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "OP_cos" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OP_sin" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OP_tan" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "OP_cot" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OP_Pi" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OP_reldist" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "OP_minimize" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OP_minloc" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OP_maximize" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "OP_maxloc" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OP_factor" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "OP_approx" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OP_divide" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "OP_factorize" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OP_int" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OP_rlqe" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "OP_simplify" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OP_solve" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OP_neq" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "OP_lt" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OP_leq" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OP_eq" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "OP_gt" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OP_geq" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "OP_convergence" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OP_reldistLe" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "OP_in" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OP_undef" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OP_failure" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "OP_false" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OP_true" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OP_not" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "OP_and" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OP_or" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OP_impl" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "OP_ex" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OP_all" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "OP_hastype" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OP_real" 'PrefixI 'False) (U1 :: Type -> Type))))))) |
Instances
Eq OPID Source # | |
Data OPID Source # | |
Defined in CSL.AS_BASIC_CSL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OPID -> c OPID gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OPID dataTypeOf :: OPID -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OPID) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OPID) gmapT :: (forall b. Data b => b -> b) -> OPID -> OPID gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OPID -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OPID -> r gmapQ :: (forall d. Data d => d -> u) -> OPID -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OPID -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OPID -> m OPID gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OPID -> m OPID gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OPID -> m OPID | |
Ord OPID Source # | |
Show OPID Source # | |
Generic OPID | |
FromJSON OPID | |
Defined in CSL.ATC_CSL parseJSON :: Value -> Parser OPID parseJSONList :: Value -> Parser [OPID] | |
ToJSON OPID | |
Defined in CSL.ATC_CSL | |
ShATermConvertible OPID | |
Defined in CSL.ATC_CSL toShATermAux :: ATermTable -> OPID -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OPID] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OPID) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OPID]) | |
Pretty OPID Source # | |
type Rep OPID | |
Defined in CSL.ATC_CSL type Rep OPID = D1 ('MetaData "OPID" "CSL.AS_BASIC_CSL" "main" 'False) (C1 ('MetaCons "OpId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OPNAME)) :+: C1 ('MetaCons "OpUser" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConstantName))) |
data ConstantName Source #
We differentiate between simple constant names and indexed constant names resulting from the extended parameter elimination.
SimpleConstant String | |
ElimConstant String Int |
Instances
Eq ConstantName Source # | |
Defined in CSL.AS_BASIC_CSL (==) :: ConstantName -> ConstantName -> Bool (/=) :: ConstantName -> ConstantName -> Bool | |
Data ConstantName Source # | |
Defined in CSL.AS_BASIC_CSL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ConstantName -> c ConstantName gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ConstantName toConstr :: ConstantName -> Constr dataTypeOf :: ConstantName -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ConstantName) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ConstantName) gmapT :: (forall b. Data b => b -> b) -> ConstantName -> ConstantName gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ConstantName -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ConstantName -> r gmapQ :: (forall d. Data d => d -> u) -> ConstantName -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> ConstantName -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> ConstantName -> m ConstantName gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ConstantName -> m ConstantName gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ConstantName -> m ConstantName | |
Ord ConstantName Source # | |
Defined in CSL.AS_BASIC_CSL compare :: ConstantName -> ConstantName -> Ordering (<) :: ConstantName -> ConstantName -> Bool (<=) :: ConstantName -> ConstantName -> Bool (>) :: ConstantName -> ConstantName -> Bool (>=) :: ConstantName -> ConstantName -> Bool max :: ConstantName -> ConstantName -> ConstantName min :: ConstantName -> ConstantName -> ConstantName | |
Show ConstantName Source # | |
Defined in CSL.AS_BASIC_CSL showsPrec :: Int -> ConstantName -> ShowS show :: ConstantName -> String showList :: [ConstantName] -> ShowS | |
Generic ConstantName | |
Defined in CSL.ATC_CSL type Rep ConstantName :: Type -> Type from :: ConstantName -> Rep ConstantName x to :: Rep ConstantName x -> ConstantName | |
FromJSON ConstantName | |
Defined in CSL.ATC_CSL parseJSON :: Value -> Parser ConstantName parseJSONList :: Value -> Parser [ConstantName] | |
ToJSON ConstantName | |
Defined in CSL.ATC_CSL toJSON :: ConstantName -> Value toEncoding :: ConstantName -> Encoding toJSONList :: [ConstantName] -> Value toEncodingList :: [ConstantName] -> Encoding | |
ShATermConvertible ConstantName | |
Defined in CSL.ATC_CSL toShATermAux :: ATermTable -> ConstantName -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [ConstantName] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, ConstantName) fromShATermList' :: Int -> ATermTable -> (ATermTable, [ConstantName]) | |
Pretty ConstantName Source # | |
Defined in CSL.Print_AS pretty :: ConstantName -> Doc Source # pretties :: [ConstantName] -> Doc Source # | |
type Rep ConstantName | |
Defined in CSL.ATC_CSL type Rep ConstantName = D1 ('MetaData "ConstantName" "CSL.AS_BASIC_CSL" "main" 'False) (C1 ('MetaCons "SimpleConstant" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: C1 ('MetaCons "ElimConstant" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) |
operator symbol declaration
Instances
Data OP_ITEM Source # | |
Defined in CSL.AS_BASIC_CSL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OP_ITEM -> c OP_ITEM gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OP_ITEM dataTypeOf :: OP_ITEM -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OP_ITEM) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OP_ITEM) gmapT :: (forall b. Data b => b -> b) -> OP_ITEM -> OP_ITEM gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OP_ITEM -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OP_ITEM -> r gmapQ :: (forall d. Data d => d -> u) -> OP_ITEM -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OP_ITEM -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OP_ITEM -> m OP_ITEM gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OP_ITEM -> m OP_ITEM gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OP_ITEM -> m OP_ITEM | |
Show OP_ITEM Source # | |
Generic OP_ITEM | |
GetRange OP_ITEM Source # | |
FromJSON OP_ITEM | |
Defined in CSL.ATC_CSL parseJSON :: Value -> Parser OP_ITEM parseJSONList :: Value -> Parser [OP_ITEM] | |
ToJSON OP_ITEM | |
Defined in CSL.ATC_CSL toEncoding :: OP_ITEM -> Encoding toJSONList :: [OP_ITEM] -> Value toEncodingList :: [OP_ITEM] -> Encoding | |
ShATermConvertible OP_ITEM | |
Defined in CSL.ATC_CSL toShATermAux :: ATermTable -> OP_ITEM -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OP_ITEM] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OP_ITEM) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OP_ITEM]) | |
Pretty OP_ITEM Source # | |
type Rep OP_ITEM | |
Defined in CSL.ATC_CSL type Rep OP_ITEM = D1 ('MetaData "OP_ITEM" "CSL.AS_BASIC_CSL" "main" 'False) (C1 ('MetaCons "Op_item" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Token]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))) |
variable symbol declaration
Instances
Data VAR_ITEM Source # | |
Defined in CSL.AS_BASIC_CSL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VAR_ITEM -> c VAR_ITEM gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VAR_ITEM toConstr :: VAR_ITEM -> Constr dataTypeOf :: VAR_ITEM -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c VAR_ITEM) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VAR_ITEM) gmapT :: (forall b. Data b => b -> b) -> VAR_ITEM -> VAR_ITEM gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VAR_ITEM -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VAR_ITEM -> r gmapQ :: (forall d. Data d => d -> u) -> VAR_ITEM -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> VAR_ITEM -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> VAR_ITEM -> m VAR_ITEM gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VAR_ITEM -> m VAR_ITEM gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VAR_ITEM -> m VAR_ITEM | |
Show VAR_ITEM Source # | |
Generic VAR_ITEM | |
GetRange VAR_ITEM Source # | |
FromJSON VAR_ITEM | |
Defined in CSL.ATC_CSL parseJSON :: Value -> Parser VAR_ITEM parseJSONList :: Value -> Parser [VAR_ITEM] | |
ToJSON VAR_ITEM | |
Defined in CSL.ATC_CSL toEncoding :: VAR_ITEM -> Encoding toJSONList :: [VAR_ITEM] -> Value toEncodingList :: [VAR_ITEM] -> Encoding | |
ShATermConvertible VAR_ITEM | |
Defined in CSL.ATC_CSL toShATermAux :: ATermTable -> VAR_ITEM -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [VAR_ITEM] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, VAR_ITEM) fromShATermList' :: Int -> ATermTable -> (ATermTable, [VAR_ITEM]) | |
Pretty VAR_ITEM Source # | |
type Rep VAR_ITEM | |
Defined in CSL.ATC_CSL type Rep VAR_ITEM = D1 ('MetaData "VAR_ITEM" "CSL.AS_BASIC_CSL" "main" 'False) (C1 ('MetaCons "Var_item" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Token]) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Domain) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) |
Instances
Eq VarDecl Source # | |
Data VarDecl Source # | |
Defined in CSL.AS_BASIC_CSL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VarDecl -> c VarDecl gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VarDecl dataTypeOf :: VarDecl -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c VarDecl) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VarDecl) gmapT :: (forall b. Data b => b -> b) -> VarDecl -> VarDecl gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VarDecl -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VarDecl -> r gmapQ :: (forall d. Data d => d -> u) -> VarDecl -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> VarDecl -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> VarDecl -> m VarDecl gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VarDecl -> m VarDecl gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VarDecl -> m VarDecl | |
Ord VarDecl Source # | |
Show VarDecl Source # | |
Generic VarDecl | |
FromJSON VarDecl | |
Defined in CSL.ATC_CSL parseJSON :: Value -> Parser VarDecl parseJSONList :: Value -> Parser [VarDecl] | |
ToJSON VarDecl | |
Defined in CSL.ATC_CSL toEncoding :: VarDecl -> Encoding toJSONList :: [VarDecl] -> Value toEncodingList :: [VarDecl] -> Encoding | |
ShATermConvertible VarDecl | |
Defined in CSL.ATC_CSL toShATermAux :: ATermTable -> VarDecl -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [VarDecl] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, VarDecl) fromShATermList' :: Int -> ATermTable -> (ATermTable, [VarDecl]) | |
Pretty VarDecl Source # | |
type Rep VarDecl | |
Defined in CSL.ATC_CSL type Rep VarDecl = D1 ('MetaData "VarDecl" "CSL.AS_BASIC_CSL" "main" 'False) (C1 ('MetaCons "VarDecl" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Token) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Domain)))) |
Instances
Eq OpDecl Source # | |
Data OpDecl Source # | |
Defined in CSL.AS_BASIC_CSL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OpDecl -> c OpDecl gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OpDecl dataTypeOf :: OpDecl -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OpDecl) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OpDecl) gmapT :: (forall b. Data b => b -> b) -> OpDecl -> OpDecl gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OpDecl -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OpDecl -> r gmapQ :: (forall d. Data d => d -> u) -> OpDecl -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OpDecl -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OpDecl -> m OpDecl gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OpDecl -> m OpDecl gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OpDecl -> m OpDecl | |
Ord OpDecl Source # | |
Show OpDecl Source # | |
Generic OpDecl | |
FromJSON OpDecl | |
Defined in CSL.ATC_CSL parseJSON :: Value -> Parser OpDecl parseJSONList :: Value -> Parser [OpDecl] | |
ToJSON OpDecl | |
Defined in CSL.ATC_CSL toEncoding :: OpDecl -> Encoding toJSONList :: [OpDecl] -> Value toEncodingList :: [OpDecl] -> Encoding | |
ShATermConvertible OpDecl | |
Defined in CSL.ATC_CSL toShATermAux :: ATermTable -> OpDecl -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OpDecl] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OpDecl) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OpDecl]) | |
Pretty OpDecl Source # | |
type Rep OpDecl | |
Defined in CSL.ATC_CSL type Rep OpDecl = D1 ('MetaData "OpDecl" "CSL.AS_BASIC_CSL" "main" 'False) (C1 ('MetaCons "OpDecl" 'PrefixI 'False) ((S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConstantName) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [EXTPARAM])) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [VarDecl]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))) |
Instances
Eq EPDecl Source # | |
Data EPDecl Source # | |
Defined in CSL.AS_BASIC_CSL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EPDecl -> c EPDecl gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EPDecl dataTypeOf :: EPDecl -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EPDecl) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EPDecl) gmapT :: (forall b. Data b => b -> b) -> EPDecl -> EPDecl gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EPDecl -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EPDecl -> r gmapQ :: (forall d. Data d => d -> u) -> EPDecl -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> EPDecl -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> EPDecl -> m EPDecl gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EPDecl -> m EPDecl gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EPDecl -> m EPDecl | |
Ord EPDecl Source # | |
Show EPDecl Source # | |
Generic EPDecl | |
FromJSON EPDecl | |
Defined in CSL.ATC_CSL parseJSON :: Value -> Parser EPDecl parseJSONList :: Value -> Parser [EPDecl] | |
ToJSON EPDecl | |
Defined in CSL.ATC_CSL toEncoding :: EPDecl -> Encoding toJSONList :: [EPDecl] -> Value toEncodingList :: [EPDecl] -> Encoding | |
ShATermConvertible EPDecl | |
Defined in CSL.ATC_CSL toShATermAux :: ATermTable -> EPDecl -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [EPDecl] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, EPDecl) fromShATermList' :: Int -> ATermTable -> (ATermTable, [EPDecl]) | |
Pretty EPDecl Source # | |
type Rep EPDecl | |
Defined in CSL.ATC_CSL type Rep EPDecl = D1 ('MetaData "EPDecl" "CSL.AS_BASIC_CSL" "main" 'False) (C1 ('MetaCons "EPDecl" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Token) :*: (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EPDomain) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe APInt))))) |
Extended Parameter value may be an integer or a reference to an EPDomVal
.
This type is used for the domain specification of EPs (see EPDomain
).
Instances
Eq EPVal Source # | |
Data EPVal Source # | |
Defined in CSL.AS_BASIC_CSL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EPVal -> c EPVal gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EPVal dataTypeOf :: EPVal -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EPVal) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EPVal) gmapT :: (forall b. Data b => b -> b) -> EPVal -> EPVal gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EPVal -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EPVal -> r gmapQ :: (forall d. Data d => d -> u) -> EPVal -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> EPVal -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> EPVal -> m EPVal gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EPVal -> m EPVal gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EPVal -> m EPVal | |
Ord EPVal Source # | |
Show EPVal Source # | |
Generic EPVal | |
FromJSON EPVal | |
Defined in CSL.ATC_CSL parseJSON :: Value -> Parser EPVal parseJSONList :: Value -> Parser [EPVal] | |
ToJSON EPVal | |
Defined in CSL.ATC_CSL | |
ShATermConvertible EPVal | |
Defined in CSL.ATC_CSL toShATermAux :: ATermTable -> EPVal -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [EPVal] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, EPVal) fromShATermList' :: Int -> ATermTable -> (ATermTable, [EPVal]) | |
Pretty EPVal Source # | |
type Rep EPVal | |
Defined in CSL.ATC_CSL type Rep EPVal = D1 ('MetaData "EPVal" "CSL.AS_BASIC_CSL" "main" 'False) (C1 ('MetaCons "EPVal" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 APInt)) :+: C1 ('MetaCons "EPConstRef" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Token))) |
getEPVarRef :: EPVal -> Maybe Token Source #
type Domain = SetOrInterval GroundConstant Source #
type EPDomain = ClosedInterval EPVal Source #
data GroundConstant Source #
Instances
Eq GroundConstant Source # | |
Defined in CSL.AS_BASIC_CSL (==) :: GroundConstant -> GroundConstant -> Bool (/=) :: GroundConstant -> GroundConstant -> Bool | |
Data GroundConstant Source # | |
Defined in CSL.AS_BASIC_CSL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GroundConstant -> c GroundConstant gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GroundConstant toConstr :: GroundConstant -> Constr dataTypeOf :: GroundConstant -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GroundConstant) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GroundConstant) gmapT :: (forall b. Data b => b -> b) -> GroundConstant -> GroundConstant gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GroundConstant -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GroundConstant -> r gmapQ :: (forall d. Data d => d -> u) -> GroundConstant -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> GroundConstant -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> GroundConstant -> m GroundConstant gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GroundConstant -> m GroundConstant gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GroundConstant -> m GroundConstant | |
Ord GroundConstant Source # | |
Defined in CSL.AS_BASIC_CSL compare :: GroundConstant -> GroundConstant -> Ordering (<) :: GroundConstant -> GroundConstant -> Bool (<=) :: GroundConstant -> GroundConstant -> Bool (>) :: GroundConstant -> GroundConstant -> Bool (>=) :: GroundConstant -> GroundConstant -> Bool max :: GroundConstant -> GroundConstant -> GroundConstant min :: GroundConstant -> GroundConstant -> GroundConstant | |
Show GroundConstant Source # | |
Defined in CSL.AS_BASIC_CSL showsPrec :: Int -> GroundConstant -> ShowS show :: GroundConstant -> String showList :: [GroundConstant] -> ShowS | |
Generic GroundConstant | |
Defined in CSL.ATC_CSL type Rep GroundConstant :: Type -> Type from :: GroundConstant -> Rep GroundConstant x to :: Rep GroundConstant x -> GroundConstant | |
Continuous GroundConstant Source # | |
Defined in CSL.AS_BASIC_CSL | |
FromJSON GroundConstant | |
Defined in CSL.ATC_CSL parseJSON :: Value -> Parser GroundConstant parseJSONList :: Value -> Parser [GroundConstant] | |
ToJSON GroundConstant | |
Defined in CSL.ATC_CSL toJSON :: GroundConstant -> Value toEncoding :: GroundConstant -> Encoding toJSONList :: [GroundConstant] -> Value toEncodingList :: [GroundConstant] -> Encoding | |
ShATermConvertible GroundConstant | |
Defined in CSL.ATC_CSL toShATermAux :: ATermTable -> GroundConstant -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [GroundConstant] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, GroundConstant) fromShATermList' :: Int -> ATermTable -> (ATermTable, [GroundConstant]) | |
Pretty GroundConstant Source # | |
Defined in CSL.Print_AS pretty :: GroundConstant -> Doc Source # pretties :: [GroundConstant] -> Doc Source # | |
type Rep GroundConstant | |
Defined in CSL.ATC_CSL type Rep GroundConstant = D1 ('MetaData "GroundConstant" "CSL.AS_BASIC_CSL" "main" 'False) (C1 ('MetaCons "GCI" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 APInt)) :+: C1 ('MetaCons "GCR" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 APFloat))) |
cmpFloatToInt :: APFloat -> APInt -> Ordering Source #
data AssDefinition Source #
A constant or function definition
ConstDef EXPRESSION | |
FunDef [String] EXPRESSION |
Instances
Eq AssDefinition Source # | |
Defined in CSL.AS_BASIC_CSL (==) :: AssDefinition -> AssDefinition -> Bool (/=) :: AssDefinition -> AssDefinition -> Bool | |
Data AssDefinition Source # | |
Defined in CSL.AS_BASIC_CSL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AssDefinition -> c AssDefinition gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AssDefinition toConstr :: AssDefinition -> Constr dataTypeOf :: AssDefinition -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AssDefinition) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AssDefinition) gmapT :: (forall b. Data b => b -> b) -> AssDefinition -> AssDefinition gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AssDefinition -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AssDefinition -> r gmapQ :: (forall d. Data d => d -> u) -> AssDefinition -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> AssDefinition -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> AssDefinition -> m AssDefinition gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AssDefinition -> m AssDefinition gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AssDefinition -> m AssDefinition | |
Ord AssDefinition Source # | |
Defined in CSL.AS_BASIC_CSL compare :: AssDefinition -> AssDefinition -> Ordering (<) :: AssDefinition -> AssDefinition -> Bool (<=) :: AssDefinition -> AssDefinition -> Bool (>) :: AssDefinition -> AssDefinition -> Bool (>=) :: AssDefinition -> AssDefinition -> Bool max :: AssDefinition -> AssDefinition -> AssDefinition min :: AssDefinition -> AssDefinition -> AssDefinition | |
Show AssDefinition Source # | |
Defined in CSL.AS_BASIC_CSL showsPrec :: Int -> AssDefinition -> ShowS show :: AssDefinition -> String showList :: [AssDefinition] -> ShowS | |
Generic AssDefinition | |
Defined in CSL.ATC_CSL type Rep AssDefinition :: Type -> Type from :: AssDefinition -> Rep AssDefinition x to :: Rep AssDefinition x -> AssDefinition | |
FromJSON AssDefinition | |
Defined in CSL.ATC_CSL parseJSON :: Value -> Parser AssDefinition parseJSONList :: Value -> Parser [AssDefinition] | |
ToJSON AssDefinition | |
Defined in CSL.ATC_CSL toJSON :: AssDefinition -> Value toEncoding :: AssDefinition -> Encoding toJSONList :: [AssDefinition] -> Value toEncodingList :: [AssDefinition] -> Encoding | |
ShATermConvertible AssDefinition | |
Defined in CSL.ATC_CSL toShATermAux :: ATermTable -> AssDefinition -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [AssDefinition] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, AssDefinition) fromShATermList' :: Int -> ATermTable -> (ATermTable, [AssDefinition]) | |
Pretty AssDefinition Source # | |
Defined in CSL.Print_AS pretty :: AssDefinition -> Doc Source # pretties :: [AssDefinition] -> Doc Source # | |
type Rep AssDefinition | |
Defined in CSL.ATC_CSL type Rep AssDefinition = D1 ('MetaData "AssDefinition" "CSL.AS_BASIC_CSL" "main" 'False) (C1 ('MetaCons "ConstDef" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EXPRESSION)) :+: C1 ('MetaCons "FunDef" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EXPRESSION))) |
data InstantiatedConstant Source #
Instances
Ass OpDecl EXPRESSION | |
Cmd String [EXPRESSION] | |
Sequence [CMD] | |
Cond [(EXPRESSION, [CMD])] | |
Repeat EXPRESSION [CMD] |
Instances
Eq CMD Source # | |
Data CMD Source # | |
Defined in CSL.AS_BASIC_CSL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CMD -> c CMD gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CMD dataTypeOf :: CMD -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CMD) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CMD) gmapT :: (forall b. Data b => b -> b) -> CMD -> CMD gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CMD -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CMD -> r gmapQ :: (forall d. Data d => d -> u) -> CMD -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> CMD -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> CMD -> m CMD gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CMD -> m CMD gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CMD -> m CMD | |
Ord CMD Source # | |
Show CMD Source # | |
Generic CMD | |
GetRange CMD Source # | |
FromJSON CMD | |
Defined in CSL.ATC_CSL parseJSON :: Value -> Parser CMD parseJSONList :: Value -> Parser [CMD] | |
ToJSON CMD | |
Defined in CSL.ATC_CSL | |
ShATermConvertible CMD | |
Defined in CSL.ATC_CSL toShATermAux :: ATermTable -> CMD -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [CMD] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, CMD) fromShATermList' :: Int -> ATermTable -> (ATermTable, [CMD]) | |
Pretty CMD Source # | |
Sentences CSL CMD Sign Morphism Symbol Source # | Instance of Sentences for reduce logic |
Defined in CSL.Logic_CSL map_sen :: CSL -> Morphism -> CMD -> Result CMD Source # simplify_sen :: CSL -> Sign -> CMD -> CMD Source # negation :: CSL -> CMD -> Maybe CMD Source # print_sign :: CSL -> Sign -> Doc Source # print_named :: CSL -> Named CMD -> Doc Source # sym_of :: CSL -> Sign -> [Set Symbol] Source # mostSymsOf :: CSL -> Sign -> [Symbol] Source # symmap_of :: CSL -> Morphism -> EndoMap Symbol Source # sym_name :: CSL -> Symbol -> Id Source # sym_label :: CSL -> Symbol -> Maybe String Source # fullSymName :: CSL -> Symbol -> String Source # symKind :: CSL -> Symbol -> String Source # symsOfSen :: CSL -> Sign -> CMD -> [Symbol] Source # pair_symbols :: CSL -> Symbol -> Symbol -> Result Symbol Source # | |
StaticAnalysis CSL BASIC_SPEC CMD SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol Source # | Static Analysis for reduce logic |
Defined in CSL.Logic_CSL basic_analysis :: CSL -> Maybe ((BASIC_SPEC, Sign, GlobalAnnos) -> Result (BASIC_SPEC, ExtSign Sign Symbol, [Named CMD])) Source # sen_analysis :: CSL -> Maybe ((BASIC_SPEC, Sign, CMD) -> Result CMD) Source # extBasicAnalysis :: CSL -> IRI -> LibName -> BASIC_SPEC -> Sign -> GlobalAnnos -> Result (BASIC_SPEC, ExtSign Sign Symbol, [Named CMD]) Source # stat_symb_map_items :: CSL -> Sign -> Maybe Sign -> [SYMB_MAP_ITEMS] -> Result (EndoMap Symbol) Source # stat_symb_items :: CSL -> Sign -> [SYMB_ITEMS] -> Result [Symbol] Source # convertTheory :: CSL -> Maybe ((Sign, [Named CMD]) -> BASIC_SPEC) Source # ensures_amalgamability :: CSL -> ([CASLAmalgOpt], Gr Sign (Int, Morphism), [(Int, Morphism)], Gr String String) -> Result Amalgamates Source # quotient_term_algebra :: CSL -> Morphism -> [Named CMD] -> Result (Sign, [Named CMD]) Source # signature_colimit :: CSL -> Gr Sign (Int, Morphism) -> Result (Sign, Map Int Morphism) Source # qualify :: CSL -> SIMPLE_ID -> LibName -> Morphism -> Sign -> Result (Morphism, [Named CMD]) Source # symbol_to_raw :: CSL -> Symbol -> Symbol Source # id_to_raw :: CSL -> Id -> Symbol Source # matches :: CSL -> Symbol -> Symbol -> Bool Source # empty_signature :: CSL -> Sign Source # add_symb_to_sign :: CSL -> Sign -> Symbol -> Result Sign Source # signature_union :: CSL -> Sign -> Sign -> Result Sign Source # signatureDiff :: CSL -> Sign -> Sign -> Result Sign Source # intersection :: CSL -> Sign -> Sign -> Result Sign Source # final_union :: CSL -> Sign -> Sign -> Result Sign Source # morphism_union :: CSL -> Morphism -> Morphism -> Result Morphism Source # is_subsig :: CSL -> Sign -> Sign -> Bool Source # subsig_inclusion :: CSL -> Sign -> Sign -> Result Morphism Source # generated_sign :: CSL -> Set Symbol -> Sign -> Result Morphism Source # cogenerated_sign :: CSL -> Set Symbol -> Sign -> Result Morphism Source # induced_from_morphism :: CSL -> EndoMap Symbol -> Sign -> Result Morphism Source # induced_from_to_morphism :: CSL -> EndoMap Symbol -> ExtSign Sign Symbol -> ExtSign Sign Symbol -> Result Morphism Source # is_transportable :: CSL -> Morphism -> Bool Source # is_injective :: CSL -> Morphism -> Bool Source # theory_to_taxonomy :: CSL -> TaxoGraphKind -> MMiSSOntology -> Sign -> [Named CMD] -> Result MMiSSOntology Source # corresp2th :: CSL -> String -> Bool -> Sign -> Sign -> [SYMB_ITEMS] -> [SYMB_ITEMS] -> EndoMap Symbol -> EndoMap Symbol -> REL_REF -> Result (Sign, [Named CMD], Sign, Sign, EndoMap Symbol, EndoMap Symbol) Source # equiv2cospan :: CSL -> Sign -> Sign -> [SYMB_ITEMS] -> [SYMB_ITEMS] -> Result (Sign, Sign, Sign, EndoMap Symbol, EndoMap Symbol) Source # extract_module :: CSL -> [IRI] -> (Sign, [Named CMD]) -> Result (Sign, [Named CMD]) Source # | |
Logic CSL () BASIC_SPEC CMD SYMB_ITEMS SYMB_MAP_ITEMS Sign Morphism Symbol Symbol [EXPRESSION] Source # | Instance of Logic for reduce logc |
Defined in CSL.Logic_CSL parse_basic_sen :: CSL -> Maybe (BASIC_SPEC -> AParser st CMD) Source # stability :: CSL -> Stability Source # data_logic :: CSL -> Maybe AnyLogic Source # top_sublogic :: CSL -> () Source # all_sublogics :: CSL -> [()] Source # bottomSublogic :: CSL -> Maybe () Source # sublogicDimensions :: CSL -> [[()]] Source # parseSublogic :: CSL -> String -> Maybe () Source # proj_sublogic_epsilon :: CSL -> () -> Sign -> Morphism Source # provers :: CSL -> [Prover Sign CMD Morphism () [EXPRESSION]] Source # default_prover :: CSL -> String Source # cons_checkers :: CSL -> [ConsChecker Sign CMD () Morphism [EXPRESSION]] Source # conservativityCheck :: CSL -> [ConservativityChecker Sign CMD Morphism] Source # empty_proof_tree :: CSL -> [EXPRESSION] Source # syntaxTable :: CSL -> Sign -> Maybe SyntaxTable Source # omdoc_metatheory :: CSL -> Maybe OMCD Source # export_symToOmdoc :: CSL -> NameMap Symbol -> Symbol -> String -> Result TCElement Source # export_senToOmdoc :: CSL -> NameMap Symbol -> CMD -> Result TCorOMElement Source # export_theoryToOmdoc :: CSL -> SigMap Symbol -> Sign -> [Named CMD] -> Result [TCElement] Source # omdocToSym :: CSL -> SigMapI Symbol -> TCElement -> String -> Result Symbol Source # omdocToSen :: CSL -> SigMapI Symbol -> TCElement -> String -> Result (Maybe (Named CMD)) Source # addOMadtToTheory :: CSL -> SigMapI Symbol -> (Sign, [Named CMD]) -> [[OmdADT]] -> Result (Sign, [Named CMD]) Source # addOmdocToTheory :: CSL -> SigMapI Symbol -> (Sign, [Named CMD]) -> [TCElement] -> Result (Sign, [Named CMD]) Source # | |
type Rep CMD | |
Defined in CSL.ATC_CSL type Rep CMD = D1 ('MetaData "CMD" "CSL.AS_BASIC_CSL" "main" 'False) ((C1 ('MetaCons "Ass" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OpDecl) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EXPRESSION)) :+: C1 ('MetaCons "Cmd" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [EXPRESSION]))) :+: (C1 ('MetaCons "Sequence" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CMD])) :+: (C1 ('MetaCons "Cond" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(EXPRESSION, [CMD])])) :+: C1 ('MetaCons "Repeat" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EXPRESSION) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CMD]))))) |
class OperatorState a where Source #
addVar :: a -> String -> a Source #
isVar :: a -> String -> Bool Source #
:: a | |
-> String | operator name |
-> Int | operator arity |
-> Either Bool OpInfo |
:: a | |
-> String | binder name |
-> Maybe OpInfo |
Instances
OperatorState () Source # | |
Defined in CSL.AS_BASIC_CSL | |
OperatorState (AnnoState st) Source # | |
OperatorState a => OperatorState (OpVarState a) Source # | |
Defined in CSL.Parse_AS_Basic addVar :: OpVarState a -> String -> OpVarState a Source # isVar :: OpVarState a -> String -> Bool Source # lookupOperator :: OpVarState a -> String -> Int -> Either Bool OpInfo Source # lookupBinder :: OpVarState a -> String -> Maybe OpInfo Source # | |
OperatorState (OpInfoMap, BindInfoMap) Source # | |
Defined in CSL.AS_BASIC_CSL addVar :: (OpInfoMap, BindInfoMap) -> String -> (OpInfoMap, BindInfoMap) Source # isVar :: (OpInfoMap, BindInfoMap) -> String -> Bool Source # lookupOperator :: (OpInfoMap, BindInfoMap) -> String -> Int -> Either Bool OpInfo Source # lookupBinder :: (OpInfoMap, BindInfoMap) -> String -> Maybe OpInfo Source # |
Instances
Eq OpInfo Source # | |
Data OpInfo Source # | |
Defined in CSL.AS_BASIC_CSL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OpInfo -> c OpInfo gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OpInfo dataTypeOf :: OpInfo -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c OpInfo) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OpInfo) gmapT :: (forall b. Data b => b -> b) -> OpInfo -> OpInfo gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OpInfo -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OpInfo -> r gmapQ :: (forall d. Data d => d -> u) -> OpInfo -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> OpInfo -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> OpInfo -> m OpInfo gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OpInfo -> m OpInfo gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OpInfo -> m OpInfo | |
Ord OpInfo Source # | |
Show OpInfo Source # | |
Generic OpInfo | |
FromJSON OpInfo | |
Defined in CSL.ATC_CSL parseJSON :: Value -> Parser OpInfo parseJSONList :: Value -> Parser [OpInfo] | |
ToJSON OpInfo | |
Defined in CSL.ATC_CSL toEncoding :: OpInfo -> Encoding toJSONList :: [OpInfo] -> Value toEncodingList :: [OpInfo] -> Encoding | |
ShATermConvertible OpInfo | |
Defined in CSL.ATC_CSL toShATermAux :: ATermTable -> OpInfo -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [OpInfo] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, OpInfo) fromShATermList' :: Int -> ATermTable -> (ATermTable, [OpInfo]) | |
ExpressionPrinter (Reader OpInfoNameMap) Source # | An |
Defined in CSL.Print_AS getOINM :: Reader OpInfoNameMap OpInfoNameMap Source # printConstant :: ConstantName -> Reader OpInfoNameMap Doc Source # printOpname :: OPNAME -> Reader OpInfoNameMap Doc Source # prefixMode :: Reader OpInfoNameMap Bool Source # printArgs :: [Doc] -> Reader OpInfoNameMap Doc Source # printArgPattern :: String -> Reader OpInfoNameMap Doc Source # printInterval :: Double -> Double -> Reader OpInfoNameMap Doc Source # printRational :: APFloat -> Reader OpInfoNameMap Doc Source # | |
OperatorState (OpInfoMap, BindInfoMap) Source # | |
Defined in CSL.AS_BASIC_CSL addVar :: (OpInfoMap, BindInfoMap) -> String -> (OpInfoMap, BindInfoMap) Source # isVar :: (OpInfoMap, BindInfoMap) -> String -> Bool Source # lookupOperator :: (OpInfoMap, BindInfoMap) -> String -> Int -> Either Bool OpInfo Source # lookupBinder :: (OpInfoMap, BindInfoMap) -> String -> Maybe OpInfo Source # | |
type Rep OpInfo | |
Defined in CSL.ATC_CSL type Rep OpInfo = D1 ('MetaData "OpInfo" "CSL.AS_BASIC_CSL" "main" 'False) (C1 ('MetaCons "OpInfo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "prec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "infx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "arity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :*: (S1 ('MetaSel ('Just "foldNAry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "opname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OPNAME) :*: S1 ('MetaSel ('Just "bind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe BindInfo)))))) |
BindInfo | |
|
Instances
Eq BindInfo Source # | |
Data BindInfo Source # | |
Defined in CSL.AS_BASIC_CSL gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BindInfo -> c BindInfo gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BindInfo toConstr :: BindInfo -> Constr dataTypeOf :: BindInfo -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BindInfo) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BindInfo) gmapT :: (forall b. Data b => b -> b) -> BindInfo -> BindInfo gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BindInfo -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BindInfo -> r gmapQ :: (forall d. Data d => d -> u) -> BindInfo -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> BindInfo -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> BindInfo -> m BindInfo gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BindInfo -> m BindInfo gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BindInfo -> m BindInfo | |
Ord BindInfo Source # | |
Show BindInfo Source # | |
Generic BindInfo | |
FromJSON BindInfo | |
Defined in CSL.ATC_CSL parseJSON :: Value -> Parser BindInfo parseJSONList :: Value -> Parser [BindInfo] | |
ToJSON BindInfo | |
Defined in CSL.ATC_CSL toEncoding :: BindInfo -> Encoding toJSONList :: [BindInfo] -> Value toEncodingList :: [BindInfo] -> Encoding | |
ShATermConvertible BindInfo | |
Defined in CSL.ATC_CSL toShATermAux :: ATermTable -> BindInfo -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [BindInfo] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, BindInfo) fromShATermList' :: Int -> ATermTable -> (ATermTable, [BindInfo]) | |
type Rep BindInfo | |
Defined in CSL.ATC_CSL type Rep BindInfo = D1 ('MetaData "BindInfo" "CSL.AS_BASIC_CSL" "main" 'False) (C1 ('MetaCons "BindInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "bindingVarPos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Int]) :*: S1 ('MetaSel ('Just "boundBodyPos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Int]))) |
operatorInfo :: [OpInfo] Source #
Mapping of operator names to arity-OpInfo
-maps (an operator may
behave differently for different arities).
operatorInfoMap :: OpInfoMap Source #
opInfoMap for the predefined operatorInfo
operatorInfoNameMap :: OpInfoNameMap Source #
opInfoNameMap for the predefined operatorInfo
mergeOpArityMap :: Ord a => OpInfoArityMap a -> OpInfoArityMap a -> OpInfoArityMap a Source #
Merges two OpInfoArityMaps together with the first map as default map and the second overwriting the default values
getOpInfoMap :: (OpInfo -> String) -> [OpInfo] -> OpInfoMap Source #
Mapping of operator names to arity-OpInfo
-maps (an operator may
behave differently for different arities).
getOpInfoNameMap :: [OpInfo] -> OpInfoNameMap Source #
Same as operatorInfoMap but with keys of type OPNAME instead of String
getBindInfoMap :: [OpInfo] -> BindInfoMap Source #
a special map for binders which have to be unique for each name (no different arities).
:: OpInfoNameMap | |
-> OPID | operator id |
-> Int | operator arity |
-> Either Bool OpInfo |
For the given name and arity we lookup an OpInfo
, where arity=-1
means flexible arity. If an operator is registered for the given
string but not for the arity we return: Left True.
lookupOpInfoForParsing Source #
:: OpInfoMap | map to be used for lookup |
-> String | operator name |
-> Int | operator arity |
-> Either Bool OpInfo |
For the given name and arity we lookup an OpInfo
, where arity=-1
means flexible arity. If an operator is registered for the given
string but not for the arity we return: Left True.
This function is designed for the lookup of operators in not statically
analyzed terms. For statically analyzed terms use lookupOpInfo.
:: OpInfoNameMap | |
-> OPID | operator name |
-> Int | operator arity |
-> Maybe BindInfo |
For the given name and arity we lookup an BindInfo
, where arity=-1
means flexible arity.
toFraction :: APFloat -> (Integer, Integer) Source #
fromFraction :: Integer -> Integer -> APFloat Source #
type OpInfoNameMap = OpInfoArityMap OPNAME Source #
type BindInfoMap = Map String OpInfo Source #
showOPNAME :: OPNAME -> String Source #
maxPrecedence :: Int Source #