def burn

bend-collections@1.0.0.0 · src/containers/binary_heap.bend:314

import bend-collections@1.0.0.0/src/containers/binary_heap.bend as BinaryHeap
import Base

314# Dropping the (linear) block is O(1): the runtime erases it.
315def burn(~A: Data, arr: Array<Maybe<&2, A>>) -> List<&2, A>:
316  Nil{}

Uses (3)

Used by (1)