CurryInfo: base-3.4.0 / Numeric.readNat

definition: Info
 
readNat :: ReadS Int
readNat str = maybeToList $
  readNumPrefix (dropWhile isSpace str) Nothing 10 isDigit digitToInt
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Read a natural number as a first token in a string.
The string might contain leadings blanks and the number is read
up to the first non-digit.
On success returns `[(v,s)]`, where `v` is the value of the number
and s is the remaing string without the number token.
failfree: Info
 _
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_) |-> _}
name: Info
 readNat
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 String -> [(Prelude.Int, String)]
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term