SergeStinckwich/SciSmalltalk — pull request #2 by djuber (2012-05-07 15:22:57+00:00)
Title: Second attempt

It looks like there was much less file mangling this time, only the actually changed items are diffed, and most of it is bookkeeping material. I recategorized most of the Park Miller methods to accessing from initialize-release.
It seems like there are at least 3 ways to implement #peek in MersenneTwisterRandom. My first attempt was to conditionalize next and keep a peeked value. I think this is confusing and not self evident. Another way would be to store the seed values, call next, and restore the seed values. The most obvious (and perhaps most expensive) way is what I am committing here.
peek
^ self deepCopy next.

Let me know if this is the wrong approach, I'm more than open to criticism.