if (likelihood(r, k, n)) { v[i].c = @p(choice(r, v)); }
if (likelihood(r, k, n)) { v[i].f = bind nopP(choice(r, v)); }
- if (false) { v[i].g = bind (fn~(_x: @pointy) { })(choice(r, v)); }
+ //if (false) { v[i].g = bind (fn~(_x: @pointy) { })(choice(r, v)); }
// https://github.com/mozilla/rust/issues/1899
if (likelihood(r, k, n)) { v[i].m = [p(choice(r, v))]; }
fn main()
{
- let r = rand::mk_rng();
+ let r = rand::rng();
range(0u, iters) {|i|
test_cycles(r, i, iters);
}