def pool_next

bend-collections@1.0.0.0 · src/containers/intrusive_doubly_linked_list.bend:174

import bend-collections@1.0.0.0/src/containers/intrusive_doubly_linked_list.bend as IntrusiveDoublyLinkedList
import Base
import bend-collections@1.0.0.0/src/containers/internal/intrusive_list.bend as Impl
import bend-collections@1.0.0.0/src/containers/types/intrusive_doubly_linked_list.bend as E

174# Pop and clear the next link, or call make only when empty. O(1) before make.
175def pool_next(~S: Type, ~N: Data, ~C: Data, ~next: S -> N -> S & Maybe<&2, N>, ~set_next: S -> N -> Maybe<&2, N> -> S, ~make: S -> C -> S & N, s: S, pool: E.Pool<N>, +c: C) -> S & (E.Pool<N> & N):
176  Impl.pool_next(~S, ~N, ~C, ~next, ~set_next, ~make, s, pool, c)

Uses (4)

Used by (0)

No other definition uses this definition.