on 492ae2f help sign in
26 lines 400 B history raw
2### `++nud`
4Numeric
6Parse a numeric character - A number.
8Source
9------
11 ++ nud (shim '0' '9') :: numeric
13Examples
14--------
16 ~zod/try=> (scan "0" nud)
17 ~~0
18 ~zod/try=> (scan "7" nud)
19 ~~7
20 ~zod/try=> (nud [[1 1] "1"])
21 [p=[p=1 q=2] q=[~ [p=~~1 q=[p=[p=1 q=2] q=""]]]]
22 ~zod/try=> (scan "0123456789" (star nud))
23 "0123456789"
26***