DlistIterator.forward_arrays: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/containers/dlist_iterator.bend as DlistIterator Lines 129-134 of bend-collections@1.0.0.0/src/containers/dlist_iterator.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/containers/dlist_iterator.bend&start_line=129&end_line=134 import Base def forward_arrays(~T: Data, vals: Array>, nexts: Array, +n: U32, empty: Bool) -> Forward: match empty: case True{}: F{vals, nexts, 0, Fail{Exhausted{}}} case False{}: forward_value(~T, nexts, n, Array.get(Maybe<&2, T>, vals, U32.sub(n, 1))) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.get https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.sub https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/containers/dlist_iterator.bend&name=Error https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/containers/dlist_iterator.bend&name=Forward https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/containers/dlist_iterator.bend&name=forward_value