def Int.show.if
import bend-kit-int@0.2.0.0/int.bend as Intimport Base
359def Int.show.if(neg: Bool, +n: Nat, +b: Word(n), w: Word(n)) -> String:
360 match neg:
361 case True{}:
362 SCon{Chr{45}, Int.show.u(n, b, Int.neg(n, w))}
363 case False{}:
364 Int.show.u(n, b, w)