def Radix.sign.if

bend-kit-int@0.2.0.0 · int.bend:319

import bend-kit-int@0.2.0.0/int.bend as Int
import Base

319def Radix.sign.if(neg: Bool, pos: Bool, c: Char, t: String) -> Bool & String:
320  match neg:
321    case True{}:
322      (True{}, t)
323    case False{}:
324      match pos:
325        case True{}:
326          (False{}, t)
327        case False{}:
328          (False{}, SCon{c, t})

Uses (5)

Used by (1)