def map_stream
import bend-collections-laws-crypto@1.0.0.0/spec/math/random.bend as Randomimport 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/spec/math/random/chacha8rand.bend as SC
70def map_stream(+n: Nat, m: Maybe<&2, List<&2, U32>>) -> Maybe<&2, List<&2, W.U64>>:
71 match m:
72 case None{}:
73 None{}
74 case Some{kl}:
75 Some{SC.stream(n, kl)}
Uses (6)
Used by (6)
- bend-collections-laws-crypto@1.0.0.0/proofs/math/random/chacha8/seed:seeded
- bend-collections-laws-crypto@1.0.0.0/proofs/math/random/chacha8/seed:seeded_c
- bend-collections-laws-crypto@1.0.0.0/proofs/math/random/chacha8/seed:seeded_ok
- bend-collections-laws-crypto@1.0.0.0/spec/crypto/random:Random.seeded
- bend-collections-laws-crypto@1.0.0.0/spec/math/random:ChaCha8.seeded
- …