def or.float

yaml-for-bend@0.1.1.0 · core.bend:98

import yaml-for-bend@0.1.1.0/core.bend as Core
import Base
import yaml-for-bend@0.1.1.0/value.bend as V

98def or.float(m: Maybe<&2, String>, rest: Unit -> V.Yaml) -> V.Yaml:
99  match m:
100    case Some{t}:
101      V.Float{t}
102    case None{}:
103      rest(Unit{})

Uses (4)

Used by (1)