DlistIterator.set: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/containers/dlist_iterator.bend as DlistIterator Lines 234-236 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=234&end_line=236 import Base def set(~T: Data, it: Iterator, x: T) -> Iterator & Result<&2, &2, Error, Unit>: IT{s, n, +last, f, i} = it set_checked(~T, IT{s, n, last, f, i}, x, U32.is_eq(last, 0)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit 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=Iterator https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/containers/dlist_iterator.bend&name=set_checked