CurryInfo: base-3.4.0 / Data.Char.digitToInt

definition: Info
 
digitToInt      :: Char -> Int
digitToInt c
  | isDigit c
  =  ord c - ord '0'
  | ord c >= ord 'A' && ord c <= ord 'F'
  =  ord c - ord 'A' + 10
  | ord c >= ord 'a' && ord c <= ord 'f'
  =  ord c - ord 'a' + 10
  | otherwise
  =  error "Char.digitToInt: argument is not a digit"
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Converts a (hexadecimal) digit character into an integer.
failfree: Info
 _
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_) |-> _}
name: Info
 digitToInt
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Prelude.Char -> Prelude.Int
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term