Value.Yaml: type of yaml-for-bend@0.1.1.0 Import: import yaml-for-bend@0.1.1.0/value.bend as Value Lines 5-19 of yaml-for-bend@0.1.1.0/value.bend: https://jend.leeeet.dev/read.txt?path=yaml-for-bend@0.1.1.0/value.bend&start_line=5&end_line=19 import Base # A value. An integer is its decimal text ("-26"), so any size fits. A float # is decimal text too, since Bend has no 64-bit floats: as written under the # Core schema ("1e3", "+.5"), and exact under YAML 1.1 ("1_000.50" is # "1000.5"); infinity and NaN are ".inf", "-.inf" and ".nan". A mapping keeps its entries in order. # Tagged is a value whose tag the schema doesn't resolve: "!point", or # "tag:yaml.org,2002:binary". type Yaml is Data: Null{} Boolean{on: Bool} Int{text: String} Float{text: String} Str{text: String} Seq{items: List<&2, Yaml>} Mapping{entries: List<&2, Entry>} Tagged{tag: String, val: Yaml} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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/value.bend&name=Entry