def from_values

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

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

153# Build from values in forward order using an application factory; return the head.
154# Factories must return distinct detached nodes. The root is not published here.
155def from_values(~S: Type, ~N: Data, ~V: Data, ~C: Data, ~set_next: S -> N -> Maybe<&2, N> -> S, ~set_prev: S -> N -> Maybe<&2, N> -> S, ~make: S -> C -> V -> S & N, s: S, +xs: List<&2, V>, +c: C) -> S & Maybe<&2, N>:
156  Impl.from_values(~S, ~N, ~V, ~C, ~set_next, ~set_prev, ~make, s, xs, c)

Uses (4)

Used by (0)

No other definition uses this definition.