BinaryHeap.item_of: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/containers/binary_heap.bend as BinaryHeap Lines 72-77 of bend-collections@1.0.0.0/src/containers/binary_heap.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/containers/binary_heap.bend&start_line=72&end_line=77 import Base import bend-collections@1.0.0.0/src/containers/types/binary_heap.bend as E def item_of(~A: Data, m: Maybe<&2, A>) -> Result<&2, &2, E.Error, A>: match m: case None{}: Fail{E.EmptyHeap{}} case Some{v}: Done{v} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/containers/types/binary_heap.bend&name=Error