"Try it now"
Gerrit Wichert
gwichert at yahoo.com
Thu Apr 14 12:38:34 PDT 2011
Am 13.04.2011 22:38, schrieb Andrei Alexandrescu:
> I'm quite excited about the new look of std (right now realized only
> by
> http://d-programming-language.org/phobos-prerelease/std_algorithm.html).
I just had a look and stumbled over the short description of group:
<http://d-programming-language.org/phobos-prerelease/std_algorithm.html#group>
group([5, 2, 2, 3, 3]) returns a range containing the tuples
tuple(5, 1), tuple(5, 1), tuple(2, 2), and tuple(3, 2).
there seems to be one 'touple(5, 1)' too much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20110414/e419ad09/attachment-0001.html>
More information about the Digitalmars-d
mailing list