Heap.Heap.from_list: def of bend-kit-collections@0.1.4.1 Import: import bend-kit-collections@0.1.4.1/heap.bend as Heap Lines 78-83 of bend-kit-collections@0.1.4.1/heap.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-collections@0.1.4.1/heap.bend&start_line=78&end_line=83 import Base def Heap.from_list(~A: Data, ~le: A -> A -> Bool, xs: List<&2, A>) -> Heap: match xs: case Nil{}: HLeaf{} case h <> t: Heap.push(~A, ~le, h, Heap.from_list(~A, ~le, t)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bend-kit-collections@0.1.4.1/heap.bend&name=Heap https://jend.leeeet.dev/definition.txt?path=bend-kit-collections@0.1.4.1/heap.bend&name=Heap.push