loadAnalysisWithImports
:: (Read a, Show a, ReadWrite a) => IORef (AnalysisStore a) -> Analysis a -> Options -> Prog -> IO ((String,String) -> a)
|
sortFunResults
:: [((String,String),a)] -> [((String,String),a)]
|
showFunResults
:: (a -> String) -> [((String,String),a)] -> [String]
|
getModuleModTime
:: String -> IO ClockTime
Returns the modification time of a module or the modification time of the corresponding FlatCurry file it it exists and is newer. |
patternArgs
:: Pattern -> [Int]
Return the pattern variables of a pattern. |
allConsOfTypes
:: [TypeDecl] -> [[((String,String),Int)]]
Compute all constructors (and their arities) grouped by their types from type declarations. |
readQC
:: String -> (String,String)
|
unknownType
:: TypeExpr
The "unknown" type (hopefully not really used at the end). |
funcsInExpr
:: Expr -> [(String,String)]
Returns the qualified names of all functions occurring in an expression. |
funcType2TypedVars
:: [Int] -> TypeExpr -> [(Int,TypeExpr)]
Transforms a list of argument variable (indices) and a function type expression into a list of corresponding typed variables. |
freshVarPos
:: [Int]
Fresh variables, i.e., variables not occurring in a position of the left-hand side, are represented as a root position. |
isFreshVarPos
:: [Int] -> Bool
Is a variable position the position of a fresh variable, i.e., a variable which does not occur in the left-hand side? |
stdConstructors
:: [[(String,String)]]
Some predefined data constructors grouped by their types. |
isEncSearchOp
:: (String,String) -> Bool
Is this the name of a non-failing encapsulated search operation? |
isSetFunOp
:: (String,String) -> Bool
Is this the name of a set function? |
isCurryID
:: (String,String) -> Bool
|
fst3
:: (a,b,c) -> a
|
snd3
:: (a,b,c) -> b
|
trd3
:: (a,b,c) -> c
|
Constructors:
AnaStore
:: [(String,ProgInfo a)] -> AnalysisStore a
A position in a term is represented as list of integers.
Type synonym: Pos = [Int]
|
|
|
Returns the modification time of a module or the modification time of the corresponding FlatCurry file it it exists and is newer. |
Return the pattern variables of a pattern.
|
Compute all constructors (and their arities) grouped by their types from type declarations. |
|
The "unknown" type (hopefully not really used at the end).
|
Returns the qualified names of all functions occurring in an expression. |
Transforms a list of argument variable (indices) and a function type expression into a list of corresponding typed variables. |
Fresh variables, i.e., variables not occurring in a position of the left-hand side, are represented as a root position.
|
Is a variable position the position of a fresh variable, i.e., a variable which does not occur in the left-hand side?
|
Some predefined data constructors grouped by their types. Used for testing in module CallTypes. |
Is this the name of a non-failing encapsulated search operation? |
Is this the name of a set function? |
|
|
|
|