def dispose

bend-collections@1.0.0.0 · src/containers/bitset.bend:356

import bend-collections@1.0.0.0/src/containers/bitset.bend as Bitset
import Base

356# Release a bitset. `Base.Array` is linear, so a caller that stops using a
357# bitset has to say so; every operation above gives the bitset back instead.
358def dispose(s: Bitset) -> Unit:
359  match s:
360    case BS{n, d, a}:
361      burn(a)

Uses (3)

Used by (3)