[Issue 9106] Rename std.random.randomShuffle as std.random.shuffle and small usage change
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Mar 22 10:58:31 PDT 2014
https://d.puremagic.com/issues/show_bug.cgi?id=9106
--- Comment #10 from bearophile_hugs at eml.cc 2014-03-22 10:58:29 PDT ---
(In reply to comment #9)
> to switch randomSample => sample (again maintaining an alias for the older
> name).
Is randomSample a documented alias?
> For this first
> iteration the biggest goal was to try and get the API/general design right,
> with improved internals the next goal.
Then I suggest to fix the API of dice(), it should be a range. It means you
give your distribution to a function/struct, and then you have a range that
yields values efficiently with that distribution.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list