def bool.yaml

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

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

224def bool.yaml(+s: String) -> Maybe<&2, V.Yaml>:
225  Bool.pick(Maybe<&2, V.Yaml>, is_true(s), Some{V.Boolean{True{}}}, Bool.pick(Maybe<&2, V.Yaml>, is_false(s), Some{V.Boolean{False{}}}, None{}))

Uses (7)

Used by (1)