Path: rushcheck/random.rb
Last Update: Sat Oct 28 08:55:20 JST 2006

random.rb - A library for psuedo-random number from Haskell

This library deals with the common task of psuedo-random number generation from Haskell98. The library makes it possible to generate repeatable results, by starting with a specified initial random number generator; or to get different results on each run by using the system-initialised generator, or by supplying a seed from some other source.

This file provides two module RandomGen, HsRandom, two classes StdGen and TheStdGen.

Required files