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