def ord.list
import yaml-for-bend@0.1.1.0/compose.bend as Composeimport Base
import yaml-for-bend@0.1.1.0/value.bend as V
127def ord.list(order: List<&2, String>, +m: Map<&2, V.Entry>) -> List<&2, V.Entry>:
128 match order:
129 case Nil{}:
130 []
131 case Con{c, rest}:
132 Pair.snd(Map<&2, V.Entry>, V.Entry, Map.get(V.Entry, V.Entry{V.Null{}, V.Null{}}, m, c)) <> ord.list(rest, m)