Deque.Deque.pop_front: def of bend-kit-collections@0.1.4.1 Import: import bend-kit-collections@0.1.4.1/deque.bend as Deque Lines 100-109 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=100&end_line=109 import Base def Deque.pop_front( a, -A: Kind(a), d: Deque ) -> Maybe<&1, A & Deque>: match d: case Deq{f, b}: match f: case h <> t: Some{(h, Deq{t, b})} case Nil{}: Deque.pop_front.refill(a, A, Deque.count(a, A, b)) 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=Maybe 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-collections@0.1.4.1/deque.bend&name=Deque https://jend.leeeet.dev/definition.txt?path=bend-kit-collections@0.1.4.1/deque.bend&name=Deque.count https://jend.leeeet.dev/definition.txt?path=bend-kit-collections@0.1.4.1/deque.bend&name=Deque.pop_front.refill