SOL_PRNG
A simple functional pseudo random number generator. No mutability. Relies on shadowing as of now.
Usage:
// bring into scope
use Rand;
// make a starting Rand
let starting_rand = new;
// generate your next Rand and a value, in this case an i32
let = r.next_i32_ranged;
println!;
// to keep using, shadow the last Rand with a new one,
// returned from next_* functions.
let = r.next_bool;
println!;
// the type you previously generated through a next_* method (^ bool)
// does not matter, just shadow normally.
let = r.next_i32_ranged;
println!;