def Heap.peek
import bend-kit-collections@0.1.4.1/heap.bend as Heapimport Base
26def Heap.peek(-A: Data, h: Heap<A>) -> Maybe<&2, A>:
27 match h:
28 case HLeaf{}:
29 None{}
30 case HNode{n, x, l, r}:
31 Some{x}
Uses (2)
Used by (0)
No other definition uses this definition.