return {
        empty: () => new Heap(empty(max)),
        from: (iterable) => new Heap(empty(max)).insertValues(iterable),
    };