def pool_new
import bend-collections@1.0.0.0/src/containers/intrusive_doubly_linked_list.bend as IntrusiveDoublyLinkedListimport 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
178# Construct max(size, 1) nodes in a LIFO pool, using the application factory.
179def pool_new(~S: Type, ~N: Data, ~C: Data, ~set_next: S -> N -> Maybe<&2, N> -> S, ~make: S -> C -> S & N, +size: Nat, s: S, +c: C) -> S & E.Pool<N>:
180 Impl.pool_new(~S, ~N, ~C, ~set_next, ~make, size, s, c)
Uses (5)
Used by (0)
No other definition uses this definition.