public static IRnd <IEnumerable <A> > Take <A>(this IRnd <int> count, IRnd <A> rnd) { return(count.SelectMany(i => rnd.Take(i))); }