Cbor.brk.fr: def of bend-kit-cbor@0.3.0.0 Import: import bend-kit-cbor@0.3.0.0/cbor.bend as Cbor Lines 627-643 of bend-kit-cbor@0.3.0.0/cbor.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-cbor@0.3.0.0/cbor.bend&start_line=627&end_line=643 import Base # A break closes the innermost indefinite array, or map with no key pending; anywhere else it is malformed. def brk.fr(fr: Frame, +i: U32, rest: List<&1, Frame>) -> St: match fr: case FArrI{xs}: SDone{Arr{List.reverse(&1, Val, xs)}, i, rest} case FMapI{kvs}: SDone{Obj{List.reverse(&1, Val & Val, kvs)}, i, rest} case FArr{left, xs}: SFail{} case FMap{left, kvs}: SFail{} case FKey{left, kvs, k}: SFail{} case FKeyI{kvs, k}: SFail{} case FTag{number}: SFail{} 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=U32 https://jend.leeeet.dev/definition.txt?path=bend-kit-cbor@0.3.0.0/cbor.bend&name=Frame https://jend.leeeet.dev/definition.txt?path=bend-kit-cbor@0.3.0.0/cbor.bend&name=St https://jend.leeeet.dev/definition.txt?path=bend-kit-cbor@0.3.0.0/cbor.bend&name=Val