CurryInfo: call-analysis-3.2.0 / Analysis.genMainCalls

definition: Info
 
genMainCalls :: ADom a -> [Rule] -> [(String,[a])]
genMainCalls (ADom abot avar _ _ _ _ _) rules =
  concatMap genStrictCalls (allFunctions rules)
 where
  genStrictCalls (f,n) = map genStrictCall [1..n]
    where genStrictCall i = (f, replace abot (i-1) (map avar [1..n]))
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
get standard main calls (i.e., for each function f/n and each
i \in [1..n] the call f(var_1,...,var_{i-1},bottom,var_{i+1},...,var_n))
from the rules:
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({ADom},_) |-> _}
name: Info
 genMainCalls
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 ADom a -> [TRS.Rule] -> [(String, [a])]
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term