static IVF1 psCollect(IProbabilisticScheduler ps, Cl> out) { ret a -> { if (out != null) out.add(withProbability(ps.currentProbability(), a)); }; }