Commit graph

540 commits

Author SHA1 Message Date
Andrei Alexandrescu
1e80655e52 Further reductions 2013-12-22 22:26:56 -08:00
Andrei Alexandrescu
56da8e597d Merge branch 'master' of github.com:D-Programming-Language/phobos into fewer-imports 2013-12-22 22:20:24 -08:00
monarch dodra
d42aa86717 Merge pull request #1796 from JakobOvrum/setintersection
Add support for more than two arguments to std.algorithm.setIntersection
2013-12-20 08:09:06 -08:00
Jakob Ovrum
1791e7c39d Add support for more than two arguments to std.algorithm.setIntersection
This seems to have always been intended to work, but was left unfinished.
The old documentation, as well as the current entry in the cheat sheet,
claimed it supported any number of arguments.
2013-12-20 19:10:05 +09:00
Andrei Alexandrescu
c2a3bd8426 Merge pull request #1787 from JakobOvrum/among
Add std.typecons.among
2013-12-19 19:35:12 -08:00
Jakob Ovrum
351ab371f2 Add std.typecons.among 2013-12-20 12:30:51 +09:00
Andrei Alexandrescu
4093af87a9 Removed spurious messages, fixed unittest errors 2013-12-19 18:58:33 -08:00
Andrei Alexandrescu
f84f0d6ec8 Further reduce top-level dependencies 2013-12-19 16:16:11 -08:00
Andrei Alexandrescu
edddfa2455 Merge branch 'master' of github.com:D-Programming-Language/phobos into fewer-imports 2013-12-19 15:31:37 -08:00
Andrei Alexandrescu
919aa8f085 Rebased and fixed issues 2013-12-19 15:22:55 -08:00
Martin Nowak
c445f1c288 Merge pull request #1766 from jmdavis/deprecations
Move various deprecations along.

Conflicts:
    std/algorithm.d
    std/zip.d
2013-12-19 23:33:47 +01:00
Andrei Alexandrescu
db687ef010 rebased 2013-12-19 14:14:23 -08:00
Martin Nowak
8ce977a8f0 Merge pull request #1676 from monarchdodra/algoPredicable
Issue 11403 - functions in std.algo can't be used as pred
2013-12-19 18:22:09 +01:00
monarchdodra
a5279fae89 fix canFind unittest 2013-12-19 17:53:35 +01:00
monarchdodra
d31d574882 rework any/all documentation 2013-12-19 17:51:26 +01:00
monarchdodra
2fdc82741f unittest any, all, canFind 2013-12-19 17:22:12 +01:00
monarchdodra
7db66a32eb make any/all predicate-able 2013-12-19 17:22:11 +01:00
monarchdodra
a84a69dc8c make canFind predicate-able 2013-12-19 17:22:11 +01:00
Jakob Ovrum
e86b56e8e7 Change std.algorithm.map example to not use I/O 2013-12-16 18:16:31 +09:00
Jakob Ovrum
d56d317220 Remove extraneous header from std.algorithm.reduce example 2013-12-16 17:48:28 +09:00
Jakob Ovrum
e569476df9 Fix std.algorithm.setIntersection documentation 2013-12-16 17:48:28 +09:00
Jakob Ovrum
09fc88f719 Fix std.algorithm.topN example 2013-12-16 17:48:27 +09:00
Jakob Ovrum
b8bdef9c42 Fix std.algorithm.partition3 example 2013-12-16 17:48:27 +09:00
Jakob Ovrum
67e56e4814 Fix std.algorithm.findAdjacent example 2013-12-16 17:48:27 +09:00
Jakob Ovrum
af52ebdfeb Fix std.algorithm.find examples 2013-12-16 17:48:26 +09:00
Jakob Ovrum
6d1799c37b Fix std.algorithm.splitter example 2013-12-16 17:48:26 +09:00
Jakob Ovrum
209819fae3 Change DDoc examples in std.algorithm to documented unittests
Examples with text succeeding them that is not associated with
another example are left as-is.
2013-12-16 17:48:17 +09:00
monarch dodra
cd22d66b1c Merge pull request #1735 from Xinok/master
Fix issue 7767 - worst case of quick sort
2013-12-15 09:01:50 -08:00
Daniel Murphy
1818d190b5 More implicit array to bool 2013-12-15 19:55:34 +11:00
jmdavis
efd6ea0cbf Move various deprecations along. 2013-12-11 23:44:12 -08:00
=
084bd3a34a Minor refactor 2013-12-07 13:21:50 -06:00
k-hara
ab34fb92ad fix Issue 11603 - std.algorithm.canFind does not work when needle is 1-byte zero 2013-12-04 16:28:04 +09:00
=
650b03b56a Merge optimisticInsertionSort into a single function; Revise documentation for sort. 2013-12-03 10:55:49 -06:00
=
90c1a768c5 Convert tabs to spaces 2013-12-02 17:57:47 -06:00
=
5f3b5b25d3 Add specialized version of optimisticInsertionSort to use swaps, for ranges which don't support assignable elements. 2013-11-30 11:25:14 -06:00
=
82fef70135 Fix another break 2013-11-29 12:02:12 -06:00
=
80b80582ba Fix shadow declaration in unittest and illegal implicit casts 2013-11-29 11:29:53 -06:00
=
1529ed6116 One more swap, replace with swapAt 2013-11-29 10:49:44 -06:00
=
16fa18c90b (3.0/2.0) should have been (2.0/3.0) 2013-11-29 10:32:51 -06:00
=
d055d252bf Replaced assignments with swaps; Fixed compilation error; misc. 2013-11-29 09:50:47 -06:00
=
bd861ad82c Added unittest for issue 7767 2013-11-28 21:17:50 -06:00
=
5528b94eae Fix wost-case of quick sort 2013-11-28 19:24:22 -06:00
John Colvin
9e1c119786 missing space in joiner example 2013-11-26 14:49:23 +00:00
H. S. Teoh
c1ce350db9 Fix issue 11576. 2013-11-21 22:47:41 -08:00
monarch dodra
cc52695e4a Merge pull request #1691 from CyberShadow/std-algorithm-sort-ddoc-nan-warning
std.algorithm: Document sort's predicate expectations
2013-11-18 01:28:32 -08:00
Jonathan M Davis
d408470f8f Merge pull request #1502 from monarchdodra/splitterPred
Fix splitter!pred and splitter(string)
2013-11-17 18:10:03 -08:00
monarchdodra
4583a87031 Correct english in documentation 2013-11-14 21:53:11 +01:00
monarchdodra
f0a7d82e30 more splitter unittests 2013-11-13 22:36:39 +01:00
monarchdodra
7c79bfa677 Fix remaining splitter issues 2013-11-13 22:22:05 +01:00
monarchdodra
60a54e7af5 Fixes splitter!pred and splitter(string) 2013-11-13 22:22:05 +01:00