tpapp/cl-random — pull request #9 by dcatteeu (2014-12-28 07:26:33+00:00)
Title: providing random number generators and 3 discrete distributions

#### Univariate distributions

I added the Bernoulli, binomial, and geometric distribution; added `draw-poisson`; and made a bugfix in `draw-bernoulli`.

#### Random number generators

I added the possibility to use random number generators other than the one provided by the Common Lisp implementation. This allows users to switch random number generators without switching CL implementation, to seed the random number generator, and ultimately to use `cl-random` for all their random number needs.

By default, all `draw` functions use `*random-state*`, so old code relying on `cl-random` will run unchanged.

Some simple random number generators were added. The Mersenne Twister is being worked on.