|
definition: |
abstractCall :: ADom a -> (String,[Term]) -> (String,[a]) abstractCall (ADom _ avar acons _ _ _ _) (f,cargs) = (f, map cons2aterm cargs) where -- map a constructor term into abstract term cons2aterm (Var v) = avar v cons2aterm (Func Cons c args) = acons c (map cons2aterm args) cons2aterm (Func Def _ _) = error "cons2aterm: Func Def occurred" |
|
demand: |
arguments 1 2 |
|
deterministic: |
deterministic operation |
|
documentation: |
map a function applied to constructor terms into an abstract abstract call w.r.t. a given domain |
|
failfree: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{({ADom},{(,)}) |-> {(,)}}
|
|
name: |
abstractCall |
|
precedence: |
no precedence defined |
|
result-values: |
{(,)}
|
|
signature: |
ADom a -> (String, [TRS.Term]) -> (String, [a]) |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
reducible on all ground data terms |