JSONParallelProof.pairs: def of qasim-bend-kit@0.1.0.2 Import: import qasim-bend-kit@0.1.0.2/proof/JSON_ParallelProof.bend as JSONParallelProof Lines 23-30 of qasim-bend-kit@0.1.0.2/proof/JSON_ParallelProof.bend: https://jend.leeeet.dev/read.txt?path=qasim-bend-kit@0.1.0.2/proof/JSON_ParallelProof.bend&start_line=23&end_line=30 import Base import qasim-bend-kit@0.1.0.2/libs/JSON.bend as J def pairs(+trees: List<&2, J.LexTree>, -tail: List) -> {forest(J.lex_pairs(trees), tail) == forest(trees, tail) : List}: match trees: case Nil{}: {==} case head <> Nil{}: {==} case left <> right <> rest: Equal.cong(List, List, xs => J.token_list(J.decode_tree(left), J.token_list(J.decode_tree(right), xs)), forest(J.lex_pairs(rest), tail), forest(rest, tail), pairs(rest, tail)) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Equal.cong 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 https://jend.leeeet.dev/definition.txt?path=qasim-bend-kit@0.1.0.2/libs/JSON.bend&name=Token https://jend.leeeet.dev/definition.txt?path=qasim-bend-kit@0.1.0.2/libs/JSON.bend&name=decode_tree https://jend.leeeet.dev/definition.txt?path=qasim-bend-kit@0.1.0.2/libs/JSON.bend&name=lex_pairs https://jend.leeeet.dev/definition.txt?path=qasim-bend-kit@0.1.0.2/libs/JSON.bend&name=token_list https://jend.leeeet.dev/definition.txt?path=qasim-bend-kit@0.1.0.2/proof/JSON_ParallelProof.bend&name=forest