[Issue 7067] std.random.RandomSample and RandomCover are poorly designed
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Mar 3 07:24:32 PST 2015
https://issues.dlang.org/show_bug.cgi?id=7067
--- Comment #22 from jens.k.mueller at gmx.de ---
We should try out Martin's idea.
I'll do it but I'd like to write some tests first. Joseph you mentioned several
"suprizes" with the current design. I'd like to create some tests for those.
Can you give some code for the flaws in the design?
I'm also looking at http://en.cppreference.com/w/cpp/numeric/random
But adding more generators (including abstractions for non-deterministic) and
distributions can be done after this issue has been addressed.
--
More information about the Digitalmars-d-bugs
mailing list