Deque.Deque.to_list: def of bend-kit-collections@0.1.4.1 Import: import bend-kit-collections@0.1.4.1/deque.bend as Deque Lines 143-147 of bend-kit-collections@0.1.4.1/deque.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-collections@0.1.4.1/deque.bend&start_line=143&end_line=147 import Base # the elements, front to back def Deque.to_list(a, -A: Kind(a), d: Deque) -> List: match d: case Deq{f, b}: List.append(a, A, f, List.reverse(a, A, b)) Uses (4): 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=bend-kit-collections@0.1.4.1/deque.bend&name=Deque