Stream.nk: def of bend-collections-laws-math@1.0.0.0 Import: import bend-collections-laws-math@1.0.0.0/proofs/math/random/chacha8/stream.bend as Stream Lines 42-52 of bend-collections-laws-math@1.0.0.0/proofs/math/random/chacha8/stream.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-math@1.0.0.0/proofs/math/random/chacha8/stream.bend&start_line=42&end_line=52 import Base import bend-collections-laws-math@1.0.0.0/src/math/random/chacha8.bend as C8 import bend-collections-laws-math@1.0.0.0/spec/math/random/chacha8rand.bend as S # the key of the iteration after them def nk(+kl: List<&2, U32>, p: C8.Phase) -> List<&2, U32>: match p: case C8.G0{}: kl case C8.G1{}: S.next_key(kl) case C8.G2{}: S.next_key(kl) case C8.G3{}: S.next_key(kl) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-math@1.0.0.0/spec/math/random/chacha8rand.bend&name=next_key https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-math@1.0.0.0/src/math/random/chacha8.bend&name=Phase