Stream

type Stream<X> = { next : () -> X }

(Infinite) streams (no ending).

public func fromIter<X>(iter : Iter.Iter<X>) : Stream<X>

Transform infinite iterator

public let Bernoulli :

Stream of numbers drawn from a Bernoulli_distribution