Codec.loop.end: def of bend-kit-postgres@0.3.1.0 Import: import bend-kit-postgres@0.3.1.0/codec.bend as Codec Lines 403-409 of bend-kit-postgres@0.3.1.0/codec.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-postgres@0.3.1.0/codec.bend&start_line=403&end_line=409 import Base # Out of fuel before the terminator is Bad. def loop.end(-A: Type, -B: Type, s: Loop) -> Cur & List<&1, B>: match s: case Go{c, x, acc}: (fail(c), List.reverse(&1, B, acc)) case Stop{c, acc}: (c, List.reverse(&1, B, acc)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.reverse https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=bend-kit-postgres@0.3.1.0/codec.bend&name=Cur https://jend.leeeet.dev/definition.txt?path=bend-kit-postgres@0.3.1.0/codec.bend&name=Loop https://jend.leeeet.dev/definition.txt?path=bend-kit-postgres@0.3.1.0/codec.bend&name=fail