Copyright | (c) Kristina Sojakova, DFKI Bremen 2009 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | k.sojakova@jacobs-university.de |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Documentation
data BASIC_SPEC
data BASIC_ITEM
data TYPE
data TERM
data FORMULA
T | |
F | |
Pred TERM | |
Equality TERM TERM | |
Negation FORMULA | |
Conjunction [FORMULA] | |
Disjunction [FORMULA] | |
Implication FORMULA FORMULA | |
Equivalence FORMULA FORMULA | |
Forall [DECL] FORMULA | |
Exists [DECL] FORMULA |
data SYMB_ITEMS
data SYMB_MAP_ITEMS
data SYMB_OR_MAP
termRecForm :: TERM -> TERM
termFlatForm :: TERM -> (NAME, [TERM])
typeRecForm :: TYPE -> TYPE
typeFlatForm :: TYPE -> TYPE
formulaRecForm :: FORMULA -> FORMULA
formulaFlatForm :: FORMULA -> FORMULA
printNames :: [NAME] -> Doc
printDecls :: [DECL] -> Doc
getVarsFromDecls :: [DECL] -> [NAME]
getVarTypeFromDecls :: NAME -> [DECL] -> Maybe TYPE
compactDecls :: [DECL] -> [DECL]
expandDecls :: [DECL] -> [SDECL]
class Translatable a where
getNewName :: NAME -> Set NAME -> NAME
getFreeVars :: TYPE -> Set NAME