def Int.to_nat.s
import bend-kit-int@0.2.0.0/int.bend as Intimport Base
469def Int.to_nat.s(neg: Bool, n: Nat, w: Word(n)) -> Maybe<&2, Nat>:
470 match neg:
471 case True{}:
472 None{}
473 case False{}:
474 Some{Word.to_nat(n, w)}
import bend-kit-int@0.2.0.0/int.bend as Intimport Base
469def Int.to_nat.s(neg: Bool, n: Nat, w: Word(n)) -> Maybe<&2, Nat>:
470 match neg:
471 case True{}:
472 None{}
473 case False{}:
474 Some{Word.to_nat(n, w)}