def pick_eq
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/float.bend as Floatimport Base
import bend-collections-laws-math@1.0.0.0/spec/math/generic.bend as SG
import bend-collections-laws-math@1.0.0.0/src/math/generic.bend as G
30def pick_eq(-T: Data, +c: Bool, +a: T, +b: T) -> {G.pick(T, c, a, b) == SG.pick(T, c, a, b) : T}:
31 match c:
32 case True{}:
33 {==}
34 case False{}:
35 {==}