def set_next_go

bend-collections@1.0.0.0 · src/containers/internal/dlist_storage.bend:72

import bend-collections@1.0.0.0/src/containers/internal/dlist_storage.bend as DlistStorage
import Base

72def set_next_go(nexts: Array<U32>, +a: U32, +q: U32, none: Bool) -> Array<U32>:
73  match none:
74    case True{}:
75      nexts
76    case False{}:
77      Array.set(U32, nexts, slot(a), q)

Uses (5)

Used by (1)