Commit graph

684 commits

Author SHA1 Message Date
H. S. Teoh
3bb4bb24d5 Merge pull request #2653 from CyberShadow/pull-20141102-104501
std.algorithm: Add a small neat in-place example for uniq
2014-11-02 21:29:22 -08:00
Vladimir Panteleev
90bf9dc648 std.algorithm: Add a small neat in-place example for uniq 2014-11-02 10:46:07 +00:00
H. S. Teoh
ef2e43181b Fix issue 13594: next(Even)Permutation doesn't need to take input range by ref. 2014-11-01 08:21:26 -07:00
David Nadlinger
bf37eef3bd Merge pull request #2635 from quickfur/groupBy_doc
[docs only] Add groupBy to navigation table and cheatsheet.
2014-10-26 04:17:08 +01:00
H. S. Teoh
1ca8d3444e Add groupBy to navigation table and cheatsheet. 2014-10-25 18:22:15 -07:00
Nick Treleaven
80e092cd5a Make std.algorithm.copy examples clearer
Use meaningful variable names.
Add `take` example.
2014-10-25 16:18:51 +01:00
monarchdodra
674d350996 cache doc 2014-10-20 13:07:31 +02:00
Brad Roberts
6c79c245d0 among should be @safe 2014-10-14 22:03:28 -07:00
Brad Roberts
3cd14f0bb6 reenable a disabled cartesianProduct unittest 2014-10-14 21:41:38 -07:00
Brad Roberts
8e9b035324 cartesianProduct should be @safe 2014-10-14 21:37:06 -07:00
Brad Roberts
afc5dbe05b nextEvenPermutation should be @safe 2014-10-14 20:14:01 -07:00
Brad Roberts
e9b65c08c3 set operations and nextPermutation should be @safe 2014-10-14 20:08:57 -07:00
Brad Roberts
1abecd3f32 any and all should be @safe 2014-10-14 18:41:11 -07:00
Brad Roberts
2599af7c18 sorting should be @safe 2014-10-14 18:13:27 -07:00
Brad Roberts
06916cfce0 balancedParens should be @safe 2014-10-13 01:16:09 -07:00
Brad Roberts
15ccc7ddc8 count should be @safe 2014-10-13 01:15:44 -07:00
Brad Roberts
8bcf058c99 findAdjacent and findAmong should be @safe 2014-10-13 01:03:05 -07:00
Brad Roberts
13791bf29c commonPrefix should be @safe 2014-10-13 00:59:28 -07:00
Brad Roberts
838c28f198 endsWith and skipOver should be @safe 2014-10-13 00:56:13 -07:00
Brad Roberts
fb5f80faac startsWith should be @safe 2014-10-13 00:52:05 -07:00
Brad Roberts
1c418ae8ee until (and related) should be @safe 2014-10-13 00:39:55 -07:00
Brad Roberts
351f7f0803 findSplit (and related) should be @safe 2014-10-13 00:26:48 -07:00
Brad Roberts
a8a98fe57e boyerMooreFinder and the find specializations using it should be @safe 2014-10-13 00:18:13 -07:00
Brad Roberts
e8c7699aa3 group should be @safe 2014-10-13 00:09:19 -07:00
Brad Roberts
63659e9655 uniq should be @safe 2014-10-13 00:09:19 -07:00
Brad Roberts
b772034db2 joiner should be @safe 2014-10-13 00:09:19 -07:00
Brad Roberts
635db401e9 splitter should be @safe 2014-10-13 00:09:19 -07:00
Brad Roberts
40096b78a6 forward should be @safe 2014-10-13 00:09:18 -07:00
Brad Roberts
0731be725d swap should be @safe 2014-10-13 00:09:18 -07:00
Brad Roberts
012dde3e3d filter should be @safe 2014-10-13 00:09:18 -07:00
Brad Roberts
5ffe91fac1 fill should be @safe 2014-10-13 00:09:18 -07:00
Brad Roberts
61712f506f cache and reduce should be @safe 2014-10-13 00:09:18 -07:00
Brad Roberts
73272aa277 topN should be @safe 2014-10-13 00:09:18 -07:00
Brad Roberts
140f312e85 partition should be @safe 2014-10-13 00:09:18 -07:00
Brad Roberts
d7bd499e0c remove should be @safe 2014-10-13 00:09:18 -07:00
Brad Roberts
2eda1f1d07 bringToFront should be @safe 2014-10-13 00:09:18 -07:00
Brad Roberts
ad6bd732b3 swapRanges and reverse should be @safe 2014-10-13 00:09:18 -07:00
Brad Roberts
426bc40535 copy should be @safe 2014-10-13 00:09:18 -07:00
Brad Roberts
e3a6792077 livenshteinDistance should be @safe 2014-10-13 00:09:17 -07:00
Brad Roberts
c7f75bacb0 mismatch should be @safe 2014-10-13 00:09:17 -07:00
Brad Roberts
38c74788e3 minPos should be @safe 2014-10-13 00:09:17 -07:00
Brad Roberts
a2b1174f58 cmp should be @safe 2014-10-13 00:09:17 -07:00
Brad Roberts
ee08f39af5 equal should be @safe 2014-10-13 00:09:17 -07:00
Brad Roberts
aeaf63ede7 map should be @safe 2014-10-13 00:09:17 -07:00
Brad Roberts
f70e1e41e4 Fix unpredictableSeed so that rndstuff can be used in @safe code
Allows:
1) canFind's tests to be @safe
2) allows the remainder of find's tests to be @safe
2014-10-13 00:04:37 -07:00
Brad Roberts
3200b08644 Improve find's @safety 2014-10-13 00:01:14 -07:00
H. S. Teoh
95f143f279 Refactor to eliminate redundant call to r.empty.
.savePrev and .prev should be private.
2014-10-05 19:31:09 -07:00
H. S. Teoh
70bec52d34 Move std.range.chunkBy to std.algorithm.groupBy. 2014-10-05 19:31:09 -07:00
H. S. Teoh
95222b884d Merge pull request #2582 from monarchdodra/cacheBug
Tweak cache constructor
2014-10-03 07:54:48 -07:00
monarchdodra
282fc0189e Tweak cache constructor 2014-10-03 16:08:46 +02:00