mirror of
https://github.com/dlang/phobos.git
synced 2025-05-01 07:30:33 +03:00
Fix typo in chunkBy cheatsheet.
This commit is contained in:
parent
de2df2bb04
commit
17e240b051
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ $(T2 cache,
|
||||||
Eagerly evaluates and caches another range's $(D front).)
|
Eagerly evaluates and caches another range's $(D front).)
|
||||||
$(T2 cacheBidirectional,
|
$(T2 cacheBidirectional,
|
||||||
As above, but also provides $(D back) and $(D popBack).)
|
As above, but also provides $(D back) and $(D popBack).)
|
||||||
$(T2 chunkyBy,
|
$(T2 chunkBy,
|
||||||
$(D chunkyBy!((a,b) => a[1] == b[1])([[1, 1], [1, 2], [2, 2], [2, 1]]))
|
$(D chunkBy!((a,b) => a[1] == b[1])([[1, 1], [1, 2], [2, 2], [2, 1]]))
|
||||||
returns a range containing 3 subranges: the first with just
|
returns a range containing 3 subranges: the first with just
|
||||||
$(D [1, 1]); the second with the elements $(D [1, 2]) and $(D [2, 2]);
|
$(D [1, 1]); the second with the elements $(D [1, 2]) and $(D [2, 2]);
|
||||||
and the third with just $(D [2, 1]).)
|
and the third with just $(D [2, 1]).)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue