Expand.fl: def of bend-toon-codec@0.1.0.0 Import: import bend-toon-codec@0.1.0.0/src/expand.bend as Expand Lines 142-151 of bend-toon-codec@0.1.0.0/src/expand.bend: https://jend.leeeet.dev/read.txt?path=bend-toon-codec@0.1.0.0/src/expand.bend&start_line=142&end_line=151 import Base import bend-toon-codec@0.1.0.0/src/json.bend as J def fl(+j: J.Json, +segs: List<&2, String>, +acc: Result<&2, &2, String, J.Json>, +strict: Bool) -> Result<&2, &2, String, J.Json>: match j: case J.JObj{fs}: fl.pick(empty_obj(j), j, segs, acc, strict, fl(fs, segs, acc, strict)) case J.JField{k, v, t}: fl(t, segs, fl(v, snoc(segs, k), acc, strict), strict) case J.JNil{}: acc case _: ins.r(acc, segs, j, strict) Uses (9): 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=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/expand.bend&name=empty_obj https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/expand.bend&name=fl.pick https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/expand.bend&name=ins.r https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/expand.bend&name=snoc https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/json.bend&name=Json