def or.float

yaml-for-bend@0.1.1.0 · yaml11.bend:190

import yaml-for-bend@0.1.1.0/yaml11.bend as Yaml11
import Base
import yaml-for-bend@0.1.1.0/value.bend as V

190def or.float(m: Maybe<&2, String>, rest: Unit -> V.Yaml) -> V.Yaml:
191  match m:
192    case Some{t}:
193      V.Float{t}
194    case None{}:
195      rest(Unit{})

Uses (4)

Used by (1)