CurryInfo: binint-3.0.0 / Data.BinInt.div2

definition:
div2 :: Nat -> Nat
div2 IHi   = failed -- 1 div 2 is not defined for Nat
div2 (O x) = x
div2 (I x) = x
demand:
argument 1
deterministic:
deterministic operation
documentation:
--- Division by 2
failfree:
{I,O}
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{({O}) |-> _ || ({I}) |-> _}
name:
div2
precedence:
no precedence defined
result-values:
_
signature:
Nat -> Nat
solution-complete:
operation might suspend on free variables
terminating:
yes
totally-defined:
possibly non-reducible on same data term