Closed dhardy closed 6 years ago
This makes the new Rand basically the same API as the old Rand, but defined via Default. This should make it a drop-in replacement, in theory.
Rand
Default
rand-derive will need a bit of tweaking but should be relatively easy.
rand-derive
Updated: I removed the uniform, ascii_word_char and codepoint convenience functions in favour of distributions, and fixed the tests.
uniform
ascii_word_char
codepoint
This makes the new
Rand
basically the same API as the oldRand
, but defined viaDefault
. This should make it a drop-in replacement, in theory.rand-derive
will need a bit of tweaking but should be relatively easy.