Copyright | (c) Tom Kranz 2022 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | |
Stability | experimental |
Portability | |
Safe Haskell | None |
translations from CASL specs to TIP format
This module provides functions for expressing CASL signatures in TIP declarations and converting single sentences to declarations.
Documentation
tipFORMULA :: CASLFORMULA -> Expr Source #
tipSOFORMULA :: Set (PRED_NAME, PredType) -> CASLFORMULA -> Expr Source #
tipOP_SYMB :: OP_SYMB -> PolySymbol Source #
tipPRED_SYMB :: PRED_SYMB -> PolySymbol Source #
tipProfile :: [SORT] -> Maybe SORT -> String Source #
tipRelation :: Relation -> Head Source #
tipJunctor :: Junctor -> Head Source #
tipQUANTIFIER :: QUANTIFIER -> Binder Source #
tipVAR_DECL :: VAR_DECL -> [Binding] Source #
tipDatatype :: (SORT, [OP_SYMB]) -> (DatatypeName, Datatype) Source #
tipConstructor :: OP_SYMB -> Constructor Source #
declareSort :: SORT -> Decl Source #