Docs for `Group` type
Mike Parker via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jul 11 23:36:13 PDT 2016
On Tuesday, 12 July 2016 at 04:25:26 UTC, Bahman Movaqar wrote:
> When using `chunkBy` (unary pred) the result is a list of
> tuples. Each
> tuple holds a key and a `Group` which belong to that key.
> Where can I find the docs for this `Group` type (I have already
> tried
> searching library on dlang.org)?
>
> Thanks,
The 'Group' type is an implementation detail -- a type used
internally -- that you aren't supposed to care about. All you
need to care about is that it's a range. The documentation for
chunkBy [1] explains what the return type is.
[1] https://dlang.org/phobos/std_algorithm_iteration.html#.chunkBy
More information about the Digitalmars-d-learn
mailing list