def prepend
import bend-collections@1.0.0.0/src/containers/intrusive_links.bend as IntrusiveLinksimport Base
import bend-collections@1.0.0.0/src/containers/intrusive_doubly_linked_list.bend as IL
76# Link detached entity n at the front of root r in O(1).
77def prepend(s: Links, +r: U32, +n: U32) -> Links:
78 IL.prepend_as(~Links, ~U32, ~U32, ~U32, ~get_head, ~set_next, ~set_prev, ~set_head_nonempty, s, r, r, n)
Uses (7)
Used by (0)
No other definition uses this definition.