Created
June 19, 2013 17:52
-
-
Save cemerick/5816340 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clojure.data.generators.rng = function rng(seed) { | |
Math.seedrandom.call(null, seed); | |
return new clojure.data.generators.SeedableRandom(seed, Math.random) | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function kj(a) { | |
Math.seedrandom.b ? Math.seedrandom.b(a) : Math.seedrandom.call(k, a); | |
return new jj(a, Math.random) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment