CurryInfo: binint-3.1.0 / Data.BinInt.fromBinInt

definition:
 
fromBinInt :: BinInt -> Int
fromBinInt (Neg n) = - (fromNat n)
fromBinInt Zero    = 0
fromBinInt (Pos n) = fromNat n
demand:
 argument 1
deterministic:
 deterministic operation
documentation:
 
Converts a binary integer into an integer constant.
failfree:
 _
indeterministic:
 referentially transparent operation
infix:
 no fixity defined
iotype:
 {({Neg}) |-> _ || ({Zero}) |-> {0} || ({Pos}) |-> _}
name:
 fromBinInt
precedence:
 no precedence defined
result-values:
 _
signature:
 BinInt -> Prelude.Int
solution-complete:
 operation might suspend on free variables
terminating:
 yes
totally-defined:
 reducible on all ground data terms