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 KIND
data CONTEXT
data Sign
addVarDecl :: DECL -> CONTEXT -> CONTEXT
getVarType :: NAME -> CONTEXT -> Maybe TYPE
addSymbolDecl :: DECL -> Sign -> Sign
getSymbols :: Sign -> Set NAME
isConstant :: NAME -> Sign -> Bool
getSymbolType :: NAME -> Sign -> Maybe TYPE
getSymbolKind :: NAME -> Sign -> Maybe KIND
getSymbolArity :: NAME -> Sign -> Maybe ARITY
getSymbolsByKind :: Sign -> KIND -> Set NAME
getArgumentTypes :: NAME -> Sign -> Maybe [TYPE]
getReturnType :: NAME -> Sign -> Maybe TYPE
getArgumentNames :: NAME -> Sign -> Maybe [NAME]
sigIntersection :: Sign -> Sign -> Result Sign
getSymsOfType :: Sign -> TYPE -> [NAME]