EmergingEztoml.inl.seal: def of emerging-eztoml@0.9.0.0 Import: import emerging-eztoml@0.9.0.0/main.bend as EmergingEztoml Lines 2867-2876 of emerging-eztoml@0.9.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=emerging-eztoml@0.9.0.0/main.bend&start_line=2867&end_line=2876 import Base # an inline table is closed once written: the tables its dotted keys made, # open while it was read, close with it def inl.seal(rows: List<&2, Val>) -> List<&2, Val>: match rows: case []: [] case VPair{name, VHead{_path, sub}} <> t: VPair{name, VInl{inl.seal(sub)}} <> inl.seal(t) case h <> t: h <> inl.seal(t) Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=emerging-eztoml@0.9.0.0/main.bend&name=Val