Queue.ready: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/containers/queue.bend as Queue Lines 21-26 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=21&end_line=26 import Base def ready(~T: Data, q: Queue) -> Queue: match q: case QU{Nil{}, b, n}: QU{List.reverse(&2, T, b), Nil{}, n} case QU{Con{x, f}, b, n}: QU{Con{x, f}, b, n} Uses (3): 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=bend-collections@1.0.0.0/src/containers/queue.bend&name=Queue