def next

bend-collections@1.0.0.0 · src/containers/intrusive_links.bend:45

import bend-collections@1.0.0.0/src/containers/intrusive_links.bend as IntrusiveLinks
import Base

45def next(s: Links, n: U32) -> Links & Maybe<&2, U32>:
46  Links{nexts, prevs, heads} = s
47  next_got(prevs, heads, Array.get(U32, nexts, n))

Uses (6)

Used by (1)