Compose.ord.put: def of yaml-for-bend@0.1.1.0 Import: import yaml-for-bend@0.1.1.0/compose.bend as Compose Lines 100-105 of yaml-for-bend@0.1.1.0/compose.bend: https://jend.leeeet.dev/read.txt?path=yaml-for-bend@0.1.1.0/compose.bend&start_line=100&end_line=105 import Base import yaml-for-bend@0.1.1.0/value.bend as V # Puts +key+'s value: in its place when it's there, else at the end. def ord.put(o: Ord, +key: V.Yaml, val: V.Yaml) -> Ord: match o: case Ord{index, order}: +c = V.canon(key) ord.put.at(Map.has(&2, V.Entry, index, c), order, c, key, val) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Map.has https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/compose.bend&name=Ord https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/compose.bend&name=ord.put.at https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/value.bend&name=Entry https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/value.bend&name=Yaml https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/value.bend&name=canon