CurryInfo: binint-3.0.0 / Data.BinInt.+^

definition: Info
 
(+^) :: Nat -> Nat -> Nat
IHi +^ y   = succ y           -- 1  +  n   = n + 1
O x +^ IHi = I x              -- 2*n + 1   = 2*n + 1
O x +^ O y = O (x +^ y)       -- 2*m + 2*n = 2*(m+n)
O x +^ I y = I (x +^ y)
I x +^ IHi = O (succ x)
I x +^ O y = I (x +^ y)
I x +^ I y = O (succ x +^ y)
demand: Info
 arguments 1 2
deterministic: Info
 deterministic operation
documentation: Info
 
Addition, O(max (m, n))
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({IHi},_) |-> {I,O} || ({O},{IHi}) |-> {I} || ({O},{O}) |-> {O} || ({O},{I}) |-> {I} || ({I},{IHi}) |-> {O} || ({I},{O}) |-> {I} || ({I},{I}) |-> {O}}
name: Info
 +^
precedence: Info
 no precedence defined
result-values: Info
 {I,O}
signature: Info
 Nat -> Nat -> Nat
solution-complete: Info
 operationally complete operation
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms