Lazy.either: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/lazy/lazy.bend as Lazy Lines 42-49 of bolt@1.27.0.0/src/lazy/lazy.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/lazy/lazy.bend&start_line=42&end_line=49 import Base # what yes gives when c, else what no gives: a pick whose two branches each # recurse, only the one taken run def either(-A: Type, cc: Bool, yes: Unit -> A, no: Unit -> A) -> A: match cc: 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