monarchdodra
95152081f3
swap isAssignable and !hasElaborateAssign
2014-02-16 17:04:34 +01:00
monarch dodra
acdb1d0a9a
Merge pull request #1205 from andralex/4725
...
Fix Issue 4725 - std.algorithm.sum()
2014-02-15 08:20:01 +01:00
Andrej Mitrovic
4aab80ef53
Merge pull request #1461 from monarchdodra/issue10039
...
Fix Issue 10039 - std.algorithm enhancements: min, max, clamp
2014-02-14 22:27:05 +01:00
monarchdodra
01ef8978c2
Improve min/max recursion
2014-02-14 19:55:25 +01:00
Peter Alexander
cef8d54a7b
Fix Issue 5753 - Disallow map with void function.
...
https://d.puremagic.com/issues/show_bug.cgi?id=5753
2014-02-12 18:49:40 +00:00
k-hara
b391b2ec9f
Convert to new alias syntax
2014-02-11 15:27:05 +09:00
monarchdodra
9d33fb078d
Coverage for minCount
2014-02-09 20:37:15 +01:00
Andrej Mitrovic
490d34d1e8
Merge pull request #1905 from CyberShadow/std-algorithm-docs
...
std.algorithm: Documentation fixes
2014-02-03 10:09:39 -08:00
Vladimir Panteleev
b757dcea75
std.algorithm: Add missing entries to module documentation summary
2014-02-03 17:25:47 +00:00
Vladimir Panteleev
5529d8205a
std.algorithm: Fix alphabetical order of declarations
2014-02-03 17:25:47 +00:00
Vladimir Panteleev
bb0ee5ffef
std.algorithm: Link to top-level symbols
...
Fixes ambiguous link to "remove".
2014-02-03 17:25:46 +00:00
k-hara
c68cb5dc6c
Move isBlitAssignable to std.traits
2014-01-31 13:07:33 +09:00
k-hara
4dd0668f60
Fix union case
2014-01-31 13:07:31 +09:00
k-hara
2d32c78af4
fix Issue 12024 - template instantiation for swap(SysTime, SysTime) fails
2014-01-31 13:07:28 +09:00
Robert burner Schadek
c0032f9e2f
examples of algorithm usage
2014-01-28 16:01:00 +01:00
Andrei Alexandrescu
637bd45413
pairwise sum returns double for ranges with float elements
2014-01-25 14:42:37 -08:00
Andrei Alexandrescu
7783916096
Added LREF to sum in reduce
2014-01-25 14:00:59 -08:00
Andrei Alexandrescu
ed36e854ef
Document use of Kahan vs. vanilla summation
2014-01-25 14:00:59 -08:00
Andrei Alexandrescu
1564671ace
Fix Issue 4725 - std.algorithm.sum()
2014-01-25 14:00:59 -08:00
Andrei Alexandrescu
bcf2be7b9c
Merge pull request #1878 from WalterBright/fix11973
...
fix Issue 11973 - Please use any instead
2014-01-24 23:26:33 -08:00
Walter Bright
7e458cc432
fix Issue 11973 - Please use any instead
2014-01-23 23:38:48 -08:00
Daniel Murphy
a656f26e9e
Remove use of automatic adjacent string literal concatenation from phobos
2014-01-20 03:42:21 +11:00
Andrei Alexandrescu
6732bbb835
Merge pull request #1858 from CyberShadow/std-aglorithm-sort-nonassignable
...
std.algorithm: Remove the hasAssignableElements restriction from HeapSortImpl
2014-01-16 09:35:54 -08:00
Vladimir Panteleev
4e6e09c568
std.algorithm: Add test for sorting via proxySwap
2014-01-14 20:00:42 +00:00
Vladimir Panteleev
9e14a1f6ef
std.algorithm: Allow proxySwap-using swap overload to take by ref
2014-01-14 20:00:41 +00:00
Brad Anderson
6e75a548b4
Add notes to Splitter docs
2014-01-14 12:26:47 -07:00
Vladimir Panteleev
2e317d0c5d
std.algorithm: Fix the hasAssignableElements restriction from HeapSort
...
This restriction seems unnecessary (as HeapSortImpl uses swap/swapAt,
which does not require assignability), and was getting in the way of
e.g. sorting a range of Refs. The range can satisfy either
hasAssignableElements, or hasSwappableElements
2014-01-14 14:36:27 +00:00
monarchdodra
fd8540072d
Remove trailing white
2014-01-08 08:30:28 +01:00
Andrej Mitrovic
70bea62290
Merge pull request #1819 from monarchdodra/equalEqual
...
fix Issue 11403 - functions in std.algo can't be used as pred
2014-01-06 08:03:55 -08:00
Rainer Schuetze
60cf6a5577
moved import std.utf : canSearchInCodeUnits; in std.algorithm.find
2014-01-03 22:10:25 +01:00
monarchdodra
190b8190d4
fix Issue 11403 - functions in std.algo can't be used as pred
2014-01-02 09:18:46 +01:00
monarchdodra
5d583483e3
fix Issue 11853 - Tuples fail "isAssignable"
2013-12-31 17:17:32 +01:00
Andrei Alexandrescu
06352bc88f
Fix Issue 6730
2013-12-29 14:26:32 -08:00
monarch dodra
97d3f75370
Merge pull request #1822 from GassaFM/master
...
fix documentation for nextPermutation and nextEvenPermutation
2013-12-29 11:30:33 -08:00
Andrei Alexandrescu
6c6c40f299
Merge pull request #1801 from monarchdodra/setIntersection
...
rework setIntersection
2013-12-29 07:40:46 -08:00
Ivan Kazmenko
23d052ace9
fix documentation for nextPermutation and nextEvenPermutation
2013-12-29 15:54:32 +04:00
monarchdodra
766f5512a5
rework setIntersection
2013-12-28 21:58:29 +01:00
monarchdodra
1fbfd9f465
fix Issue 11798 - std.algorithm.all with no predicate too
2013-12-27 10:28:51 +01:00
k-hara
1f42c9b01b
Remove unnecessary imports
2013-12-26 11:55:24 +09:00
k-hara
ba1235c3ac
Fix mistaken imports
2013-12-26 11:55:21 +09:00
k-hara
6628a306cf
Add more necessary local imports
2013-12-26 11:55:18 +09:00
k-hara
baf5c78deb
Use selective local import and place at the head of the required code block
2013-12-26 11:55:06 +09:00
Andrei Alexandrescu
7240c399f5
fix conflict manually
2013-12-24 11:37:33 -08:00
k-hara
3e791f6bc6
Add import declarations for issue 313 & 314
2013-12-24 09:39:21 +09:00
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