Compose.ord.fill: def of yaml-for-bend@0.1.1.0 Import: import yaml-for-bend@0.1.1.0/compose.bend as Compose Lines 117-125 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=117&end_line=125 import Base import yaml-for-bend@0.1.1.0/value.bend as V # The entries whose keys aren't there yet. def ord.fill(es: List<&2, V.Entry>, +o: Ord) -> Ord: match es: case Nil{}: o case Con{e, rest}: match e: case V.Entry{+k, v}: ord.fill(rest, Bool.pick(Ord, ord.has(o, k), o, ord.put(o, k, v))) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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.has https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/compose.bend&name=ord.put https://jend.leeeet.dev/definition.txt?path=yaml-for-bend@0.1.1.0/value.bend&name=Entry