CurryInfo: call-analysis-3.2.0 / Analysis.getMainCall

definition: Info
 
getMainCall :: [Rule] -> (String,[Term])
getMainCall rules = ("main", genArgs (arityOf "main" rules))
 where
  genArgs n = map Var [1..n]
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
get standard main call (i.e., main(var1,...,varn)) from the rules:
failfree: Info
 _
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_) |-> {(,)}}
name: Info
 getMainCall
precedence: Info
 no precedence defined
result-values: Info
 {(,)}
signature: Info
 [TRS.Rule] -> (String, [TRS.Term])
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term