def __iter__(self):
        curr = self
        while curr:
            r, curr = curr.extract()
            yield r
Extract elements one-by-one.
dataset/ETHPy150Open kachayev/fn.py/fn/immutable/heap.py/_MergeBased.__iter__