def esign.at

emerging-ezjson@1.3.0.0 · src/fixed.bend:60

import emerging-ezjson@1.3.0.0/src/fixed.bend as Fixed
import Base

60# an exponent's sign and digits: `-` makes it negative, `+` is dropped
61def esign.at(minus: Bool, plus: Bool, ch: Char, tl: String) -> Bool & String:
62  match minus plus:
63    case True{} _:
64      (True{}, tl)
65    case False{} True{}:
66      (False{}, tl)
67    case False{} False{}:
68      (False{}, SCon{ch, tl})

Uses (5)

Used by (1)