BooleanLogic.When: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/proofs/boolean_logic.bend as BooleanLogic Lines 6-10 of stelliferous@0.0.2.0/proofs/boolean_logic.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/proofs/boolean_logic.bend&start_line=6&end_line=10 import Base # Evidence is required only for an enabled branch. def When(enabled: Bool,Property: Data) -> Data: match enabled: case False{}: Unit case True{}: Property 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