Copyright | (c) J. von Schroeder, DFKI Bremen 2012 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Jonathan von Schroeder <jonathan.von_schroeder@dfki.de> |
Stability | provisional |
Portability | non-portable |
Safe Haskell | None |
Documentation
data Constraint
occursType :: Token -> Type -> Bool
constraintToType :: Constraint -> (Bool, (String, Range, Type))
toConstraint :: Bool -> (String, Range, Type) -> Constraint
type Constraints = UniqueT Result (Type, [(Type, Constraint)])
not_supported :: (Show a, GetRange a) => a -> Constraints
getTypeC :: ConstMap -> THFFormula -> Constraints
getTypeCLF :: ConstMap -> THFLogicFormula -> Constraints
getTypeCBF :: ConstMap -> THFBinaryFormula -> Constraints
getTypeCUF :: ConstMap -> THFUnitaryFormula -> Constraints
flattenMap :: Map Constant [a] -> Map Constant a
type RewriteArg = Map Constant (Maybe Int)
rewriteVariableList' :: (RewriteFuns RewriteArg, RewriteArg) -> [THFVariable] -> Result [THFVariable]
needsConst :: Constant -> Named THFFormula -> Bool
infer :: ConstMap -> [Named THFFormula] -> Result (ConstMap, [Named THFFormula])
type_check :: TypeMap -> ConstMap -> [Named THFFormula] -> Result [[(Token, Type)]]