Core.plain: def of yaml-for-bend@0.1.1.0 Import: import yaml-for-bend@0.1.1.0/core.bend as Core Lines 105-110 of yaml-for-bend@0.1.1.0/core.bend: https://jend.leeeet.dev/read.txt?path=yaml-for-bend@0.1.1.0/core.bend&start_line=105&end_line=110 import Base import yaml-for-bend@0.1.1.0/value.bend as V # An untagged plain scalar. def plain(+s: String) -> V.Yaml: when(V.Yaml, is_null(s), u => V.Null{}, u => when(V.Yaml, is_true(s), u => V.Boolean{True{}}, u => when(V.Yaml, is_false(s), u => V.Boolean{False{}}, u => or.int(int.of(s), s, u => or.float(float.of(s), u => V.Str{s}))))) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/core.bend&name=float.of https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/core.bend&name=int.of https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/core.bend&name=is_false https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/core.bend&name=is_null https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/core.bend&name=is_true https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/core.bend&name=or.float https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/core.bend&name=or.int https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/core.bend&name=when https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/value.bend&name=Yaml