def pick_why

bend-schema-lib@0.4.1.0 · core.bend:1101

import bend-schema-lib@0.4.1.0/core.bend as Core
import Base

1101def pick_why(b: Bool, +x: Maybe<&2, Why>, +y: Maybe<&2, Why>) -> Maybe<&2, Why>:
1102  match b:
1103    case True{}:
1104      x
1105    case False{}:
1106      y

Uses (3)

Used by (2)