Plan.occupied2: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/store/plan.bend as Plan Lines 213-220 of cswap-bend-cli@0.1.0.0/store/plan.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/store/plan.bend&start_line=213&end_line=220 import Base def occupied2(+same: Bool, +assume_yes: Bool, +num: String, +other: String) -> SlotPlan: match same assume_yes: case True{} _: SPOk{num, None{}, None{}} case False{} True{}: SPOk{num, Some{num}, None{}} case False{} False{}: SPErr{10, "Slot " ++ num ++ " already occupied by " ++ other} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/store/plan.bend&name=SlotPlan