def map_stream

bend-collections-laws-math@1.0.0.0 · spec/math/random.bend:70

import bend-collections-laws-math@1.0.0.0/spec/math/random.bend as Random
import Base
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as W
import bend-collections-laws-math@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 (4)