JSON.lex_pairs: def of qasim-bend-kit@0.1.0.2 Import: import qasim-bend-kit@0.1.0.2/libs/JSON.bend as JSON Lines 1081-1085 of qasim-bend-kit@0.1.0.2/libs/JSON.bend: https://jend.leeeet.dev/read.txt?path=qasim-bend-kit@0.1.0.2/libs/JSON.bend&start_line=1081&end_line=1085 import Base def lex_pairs(trees: List<&2, LexTree>) -> List<&2, LexTree>: match trees: case Nil{}: Nil{} case h <> Nil{}: h <> Nil{} case a <> b <> t: LexBranch{a, b} <> lex_pairs(t) Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=qasim-bend-kit@0.1.0.2/libs/JSON.bend&name=LexTree