def from_nodes

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

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

158# Link distinct detached nodes in input order; return the head without allocating nodes.
159def from_nodes(~S: Type, ~N: Data, ~set_next: S -> N -> Maybe<&2, N> -> S, ~set_prev: S -> N -> Maybe<&2, N> -> S, s: S, +xs: List<&2, N>) -> S & Maybe<&2, N>:
160  Impl.from_nodes(~S, ~N, ~set_next, ~set_prev, s, xs)

Uses (4)

Used by (0)

No other definition uses this definition.