Scan.choose: def of gralha-text-scan@0.1.0.1 Import: import gralha-text-scan@0.1.0.1/scan.bend as Scan Lines 5-8 of gralha-text-scan@0.1.0.1/scan.bend: https://jend.leeeet.dev/read.txt?path=gralha-text-scan@0.1.0.1/scan.bend&start_line=5&end_line=8 import Base def choose(-A: Type, yes: Bool, a: A, b: A) -> A: match yes: case True{}: a case False{}: b Uses (1): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool