Stream.rest: def of bend-collections-laws-crypto@1.0.0.0 Import: import bend-collections-laws-crypto@1.0.0.0/proofs/math/random/chacha8/stream.bend as Stream Lines 30-40 of bend-collections-laws-crypto@1.0.0.0/proofs/math/random/chacha8/stream.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-crypto@1.0.0.0/proofs/math/random/chacha8/stream.bend&start_line=30&end_line=40 import Base import bend-collections-laws-crypto@1.0.0.0/src/math/u64.bend as W import bend-collections-laws-crypto@1.0.0.0/src/math/random/chacha8.bend as C8 import bend-collections-laws-crypto@1.0.0.0/spec/math/random/chacha8rand.bend as S # the outputs of the current iteration after the groups already produced def rest(+kl: List<&2, U32>, p: C8.Phase) -> List<&2, W.U64>: match p: case C8.G0{}: [] case C8.G1{}: drop64(32n, S.words64(S.output(kl))) case C8.G2{}: drop64(64n, S.words64(S.output(kl))) case C8.G3{}: drop64(96n, S.words64(S.output(kl))) Uses (7): 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-crypto@1.0.0.0/proofs/math/random/chacha8/stream.bend&name=drop64 https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/math/random/chacha8rand.bend&name=output https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/spec/math/random/chacha8rand.bend&name=words64 https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/math/random/chacha8.bend&name=Phase https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-crypto@1.0.0.0/src/math/u64.bend&name=U64