def or_top

bend-collections-laws-math@1.0.0.0 · src/math/fixed.bend:57

import bend-collections-laws-math@1.0.0.0/src/math/fixed.bend as Fixed
import Base

57def or_top(-T: Data, +top: T, r: Maybe<&2, T>) -> T:
58  match r:
59    case Some{x}:
60      x
61    case None{}:
62      top

Uses (1)

Used by (4)