def pop_end
bend-collections@1.0.0.0 · src/containers/internal/dlist_storage.bend:418
import bend-collections@1.0.0.0/src/containers/internal/dlist_storage.bend as DlistStorage
import Base
418def pop_end(~T: Data, +tag: U32, +fresh: U32, +free: U32, count: Nat, +head: U32, +tail: U32, +depth: Nat, +cap: U32, vals: Array<Maybe<&2, T>>, prevs: Array<U32>, nexts: Array<U32>, +l: U32, empty: Bool) -> DList<T> & Maybe<&2, T>:
419 match empty:
420 case True{}:
421 (DL{tag, fresh, free, count, head, tail, depth, cap, vals, prevs, nexts}, None{})
422 case False{}:
423 rmf_found(~T, tag, fresh, free, count, head, tail, depth, cap, prevs, nexts, slot(l), Array.get(Maybe<&2, T>, vals, slot(l)))