def pickt
import bend-collections-laws-math@1.0.0.0/spec/math/f64.bend as F64import Base
105# pick for pairs (a Sigma is Type-sorted)
106def pickt(-T: Type, c: Bool, a: T, b: T) -> T:
107 match c:
108 case True{}:
109 a
110 case False{}:
111 b
Uses (1)
Used by (6)
- bend-collections-laws-math@1.0.0.0/spec/math/f64:frexp
- bend-collections-laws-math@1.0.0.0/spec/math/f64:modf
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64exp:fx_c
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64exp:fxz_c
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64modf:mf_c
- …