def num

bend-kit-regex@0.8.0.0 · regex.bend:271

import bend-kit-regex@0.8.0.0/regex.bend as Regex
import Base

271def num(s: String) -> Num:
272  match s:
273    case SNil{}:
274      Num{0, 0, SNil{}}
275    case SCon{Chr{+c}, t}:
276      num.go(t, c, 0, 0, is_digit(c))

Uses (5)

Used by (2)