definition: |
add :: Nat -> Nat -> Nat add Z n = n add (S m) n = S (add m n) |
demand: |
argument 1 |
deterministic: |
deterministic operation |
documentation: |
--- Addition on natural numbers. |
failfree: |
(_, _) |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{({Z},_) |-> _ || ({S},_) |-> {S}} |
name: |
add |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
Nat -> Nat -> Nat |
solution-complete: |
operationally complete operation |
terminating: |
yes |
totally-defined: |
reducible on all ground data terms |