Hmap.HMap.bool: def of bend-kit-collections@0.1.4.1 Import: import bend-kit-collections@0.1.4.1/hmap.bend as Hmap Lines 16-21 of bend-kit-collections@0.1.4.1/hmap.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-collections@0.1.4.1/hmap.bend&start_line=16&end_line=21 import Base def HMap.bool(-A: Type, b: Bool, yes: Unit -> A, no: Unit -> A) -> A: match b: case True{}: yes(Unit{}) case False{}: no(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