def is_some
import bend-collections-laws-math@1.0.0.0/proofs/math/random/shuffle.bend as Shuffleimport Base
26def is_some(-A: Data, m: Maybe<&2, A>) -> Bool:
27 match m:
28 case None{}:
29 False{}
30 case Some{x}:
31 True{}
import bend-collections-laws-math@1.0.0.0/proofs/math/random/shuffle.bend as Shuffleimport Base
26def is_some(-A: Data, m: Maybe<&2, A>) -> Bool:
27 match m:
28 case None{}:
29 False{}
30 case Some{x}:
31 True{}