definition:
|
checkDefaultRules :: CurryProg -> [(QName,String)]
checkDefaultRules prog =
let allfunctions = functions prog
(defruledecls,fdecls) = partition isDefaultFunc allfunctions
in concatMap (checkDefaultRule fdecls) defruledecls ++
concatMap checkLocalDefaultRule allfunctions
|
demand:
|
no demanded arguments
|
deterministic:
|
deterministic operation
|
documentation:
|
--- Check correct usage of default rules and return function names and errors
--- for incorrect uses.
|
failfree:
|
_
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{(_) |-> _}
|
name:
|
checkDefaultRules
|
precedence:
|
no precedence defined
|
result-values:
|
_
|
signature:
|
AbstractCurry.Types.CurryProg -> [((String, String), String)]
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|