28 lines
426 B
Rust
28 lines
426 B
Rust
|
// -*- rust -*-
|
||
|
|
||
|
use std;
|
||
|
import std.rand;
|
||
|
|
||
|
fn main() {
|
||
|
let rand.rng r1 = rand.mk_rng();
|
||
|
log r1.next();
|
||
|
log r1.next();
|
||
|
{
|
||
|
auto r2 = rand.mk_rng();
|
||
|
log r1.next();
|
||
|
log r2.next();
|
||
|
log r1.next();
|
||
|
log r1.next();
|
||
|
log r2.next();
|
||
|
log r2.next();
|
||
|
log r1.next();
|
||
|
log r1.next();
|
||
|
log r1.next();
|
||
|
log r2.next();
|
||
|
log r2.next();
|
||
|
log r2.next();
|
||
|
}
|
||
|
log r1.next();
|
||
|
log r1.next();
|
||
|
}
|