Queue.to_list: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/containers/queue.bend as Queue Lines 48-50 of bend-collections@1.0.0.0/src/containers/queue.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/containers/queue.bend&start_line=48&end_line=50 import Base def to_list(~T: Data, q: Queue) -> Queue & List<&2, T>: QU{+f, +b, n} = q (QU{f, b, n}, List.append(&2, T, f, List.reverse(&2, T, b))) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.append 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-collections@1.0.0.0/src/containers/queue.bend&name=Queue