def some_or

bend-collections-laws-math@1.0.0.0 · proofs/math/random/below.bend:68

import bend-collections-laws-math@1.0.0.0/proofs/math/random/below.bend as Below
import Base

68def some_or(m: Maybe<&2, Nat>, +d: Nat) -> Nat:
69  match m:
70    case None{}:
71      d
72    case Some{x}:
73      x

Uses (2)

Used by (1)