def or.int

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

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

183def or.int(m: Maybe<&2, String>, rest: Unit -> V.Yaml) -> V.Yaml:
184  match m:
185    case Some{t}:
186      V.Int{t}
187    case None{}:
188      rest(Unit{})

Uses (4)

Used by (1)