Sort in return statement
Seb
seb at wilzba.ch
Sat Dec 9 14:49:28 UTC 2017
On Saturday, 9 December 2017 at 14:42:44 UTC, codephantom wrote:
> After lots of reading, and testing, I managed to get a simple,
> one liner ;-)
> (doesn't seem like .release is needed though.)
FYI .release is only possible on a SortedRange and then yields
the underlying range. randomSample doesn't sort its returned
range, but I am glad to hear this worked for you.
More information about the Digitalmars-d-learn
mailing list