Bigint.Mag.if: def of bend-kit-bignum@0.1.0.0 Import: import bend-kit-bignum@0.1.0.0/bigint.bend as Bigint Lines 10-16 of bend-kit-bignum@0.1.0.0/bigint.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-bignum@0.1.0.0/bigint.bend&start_line=10&end_line=16 import Base # A match cannot scrutinize a computed Bool, so each branch is a closure. def Mag.if(-A: Type, c: Bool, t: Unit -> A, e: Unit -> A) -> A: match c: case True{}: t(Unit{}) case False{}: e(Unit{}) Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit