Commit graph

877 commits

Author SHA1 Message Date
Andrei Alexandrescu
58be104aa0 Merge pull request #2899 from quickfur/aggregate
Implement aggregate().
2015-01-23 13:18:22 -08:00
Andrei Alexandrescu
ed3776a8c7 Merge pull request #2898 from quickfur/topNIndex
Move topNIndex to std.algorithm.sorting.
2015-01-23 12:16:43 -08:00
H. S. Teoh
0623b98822 Update navigational links. 2015-01-23 11:52:54 -08:00
H. S. Teoh
ab1d304dca Implement aggregate(). 2015-01-23 11:52:54 -08:00
H. S. Teoh
0520fba4f6 Delete evil tab characters that somehow slipped in. 2015-01-23 11:11:47 -08:00
H. S. Teoh
13149ded17 Update navigation links and cheatsheet. 2015-01-23 11:05:19 -08:00
Andrei Alexandrescu
0ffae6824f Merge pull request #2878 from quickfur/new_groupBy
New implementation of groupBy
2015-01-23 09:49:59 -08:00
H. S. Teoh
dfd1c2338f Fixups based on feedback. 2015-01-23 09:01:41 -08:00
H. S. Teoh
f8be0070d7 Bail out if user asks for unimplemented swap strategy. 2015-01-22 14:53:30 -08:00
H. S. Teoh
6347527fc2 Move topNIndex to std.algorithm.sorting.
Improve documentation and add missing sig constraints.
2015-01-22 13:43:57 -08:00
H. S. Teoh
2f0b36f8e4 Delete 6-year-old dead code. 2015-01-22 11:26:43 -08:00
H. S. Teoh
3fb23fa606 Delete commented-out dead code.
Has been dead since 2009.
2015-01-22 11:25:25 -08:00
H. S. Teoh
b9979857c5 New groupBy implementation for forward ranges based on Andrei's design.
Restrict old groupBy implementation to input-only ranges.

Add unittest.

Temporarily disable failing attributes, until RefCounted is repaired to
support `@safe nothrow pure`.
2015-01-22 10:59:38 -08:00
Steven Schveighoffer
8ccd882556 Fix second move overload for issue 13990 2015-01-22 10:23:11 -05:00
H. S. Teoh
bc73d86f31 Merge branch 'master' into split_std_algo_merge
Conflicts:
	std/algorithm.d

Manually apply diff from PR #2876.
2015-01-20 14:33:13 -08:00
H. S. Teoh
398038a1d3 Move cheat sheet entries into respective submodules. 2015-01-20 10:43:50 -08:00
H. S. Teoh
c3d464d1aa Add ddoc headers for submodules. 2015-01-20 10:27:42 -08:00
H. S. Teoh
309a22e916 Update cross-module links.
Update crosslinks in cheat sheet.
2015-01-20 10:16:06 -08:00
H. S. Teoh
fa803294a6 Move each() to std.algorithm.iteration. 2015-01-20 09:14:06 -08:00
H. S. Teoh
5cae4f0cb5 Split mutation algorithms into own submodule.
Clean up inter-package imports.
2015-01-20 09:14:06 -08:00
H. S. Teoh
b476a82b5b Split search algorithms into own submodule. 2015-01-20 09:14:06 -08:00
H. S. Teoh
5551facc2f Refactor: reduce global imports. 2015-01-20 09:14:06 -08:00
H. S. Teoh
9dc4c34379 Split iteration functions into own submodule. 2015-01-20 09:14:06 -08:00
H. S. Teoh
28feb36b6e Split comparison functions into own submodule. 2015-01-20 09:14:06 -08:00
H. S. Teoh
8275298a72 Split sorting functions into own submodule. 2015-01-20 09:14:06 -08:00
H. S. Teoh
d109025fd1 Move set operations into submodule. 2015-01-20 09:14:06 -08:00
H. S. Teoh
48040701a5 Prepare to split up std.algorithm into submodules. 2015-01-20 09:14:06 -08:00