Peter Alexander
052c50d3cb
Fix Issue 13781 - Tuple assign should be @nogc
2014-12-31 19:23:35 +00:00
Andrei Alexandrescu
e85bf83bd3
remove stray paren
2014-12-29 17:51:45 -08:00
Walter Bright
c84ce85e35
correct use of See_Also
2014-12-27 16:30:07 -08:00
Andrei Alexandrescu
3322f62602
Merge pull request #2812 from WalterBright/sum-doc
...
add std.algorithm.sum documentation links
2014-12-27 15:45:22 -08:00
Andrei Alexandrescu
81c69ca26b
Merge pull request #2815 from WalterBright/alg-doc-homonym
...
std.algorithm homonym docs need improvement
2014-12-27 15:09:41 -08:00
Walter Bright
0701187536
std.algorithm homonym docs need improvement
2014-12-27 15:08:00 -08:00
Walter Bright
6eb0d70794
doc std.algorithm.fill
2014-12-27 13:07:50 -08:00
Walter Bright
209857318c
add std.algorithm.sum links
2014-12-27 11:13:55 -08:00
Peter Alexander
d1ffb938b5
Fix Issue 10104 - Group of array of const/immutable
2014-12-15 20:22:07 +00:00
sinkuu
d66d1d33fd
Avoid unnecessary enforce
2014-12-09 13:34:58 +09:00
Nick Treleaven
3d02f3accf
Remove broken glossary links
2014-12-02 13:22:05 +00:00
Nick Treleaven
a2450fd1a5
Properly document BoyerMooreFinder
...
Before it was ditto-ing the find(haystack, needles) docs which return a
tuple instead.
Move boyerMooreFinder above the struct so ddoc finds a parameter name.
Remove note about bug 4759, which is now resolved.
2014-12-02 13:16:34 +00:00
Nick Treleaven
038d2f1054
Move single-element predicate-only find above subrange find
2014-12-02 13:16:12 +00:00
Dmitry Olshansky
5986e74087
Merge pull request #2654 from quickfur/issue13595b
...
Issue 13595: Extend groupBy to handle non-equivalence relations.
2014-12-01 05:34:10 +03:00
Rainer Schuetze
7c2f962b10
make nested foreach over TypeTuple bodies into lambdas to avoid huge functions
2014-11-28 17:15:37 +01:00
H. S. Teoh
96521830d7
Rename IsEquivRelation to EquivRelation.
2014-11-28 07:55:47 -08:00
H. S. Teoh
a61fb6e542
Use Flag instead of single-use enum.
2014-11-27 10:20:54 -08:00
H. S. Teoh
b7c3816fdb
Do reflexivity check in assert mode if predicate is claimed to be equivalence relation.
2014-11-27 10:20:54 -08:00
H. S. Teoh
ab72e3cf51
Use flag enum instead of bool.
...
To prevent Boolean Blindness.
2014-11-27 10:20:54 -08:00
H. S. Teoh
74d5923430
Extend groupBy to handle non-equivalence relations.
...
Update DDocs.
Add unittest for 13595.
2014-11-27 10:20:54 -08:00
H. S. Teoh
e46ccaae82
Merge pull request #2766 from e10s/patch-2
...
Tweak std.algorithm ddocs
2014-11-24 07:57:22 -08:00
e10s
af794bc518
tweak clamp ddoc
...
- sort the Comparison section
- fix typo
2014-11-24 16:57:12 +09:00
e10s
761293d8e3
tweak predSwitch ddoc
2014-11-24 16:51:59 +09:00
Ilya Yaroshenko
2c744b54e1
std.range: constraints => primitives
...
See discussion and voting in #2661
2014-11-23 20:05:20 +03:00
Ilya Yaroshenko
c8d9afedea
clean scope imports
...
imports of `std.range, std.algorithm, std.array, std.string,
std.format, std.uni` are affected.
2014-11-21 00:08:35 +03:00
k-hara
4f5a6e5811
Add missing imports
2014-11-21 00:16:47 +09:00
Ilya Yaroshenko
efb880f651
move format to std.format
...
The reason is to do not import `std.uni` tables, `std.string` and
probably `std.algorithm`. Note that format is used in CTFE code and
`Exception` handing.
And it is more comfortable to import `format` from `std.format`.
std.format: clean imports (2)
remove import std.math : pow from std.uni
update scope imports in std.algorithm
update scope imports in std.exception
doFormat -> template
update scope imports in std.typecons
update scope imports in std.functional
update scope imports in std.range
update std.conv scope import
std.format: clean imports (2)
remove import std.math : pow from std.uni
update scope imports in std.algorithm
update scope imports in std.exception
doFormat -> template
update scope imports in std.typecons
update scope imports in std.functional
update scope imports in std.range
move sfromat
add public import of sformat
use std.uni
2014-11-18 22:14:28 +03:00
Ilya Yaroshenko
66267de81f
dummy ranges module
...
rm
rename & add scope imports
update scope imports
std.algorithm: clean imports
update scope imports
update global imports
update *.mak
ditto
formatting
fix typo
fix scope import std.uni
update windows *.mak
add import to unittests
tabs fix
fix unittest
fix indentation
2014-11-15 03:07:10 +03:00
Ilya Yaroshenko
863be93873
std.algorithm binaryFun unification
...
The reason is to do not compile two variants:
“a == b” and “a==b”.
2014-11-13 13:10:33 +03:00
Ilya Yaroshenko
3fcf723aa4
std.array: clean imports
...
assocArray: updated doc header.
add scope import
added global import in std.array
global import std.algorithm : splitter; in std.arra;
update splitter
import typetuple
import std.algorithm
Fix split
import std.algorithm fix
2014-11-12 15:34:30 +03:00
Михаил Страшун
a33ef931bf
Merge pull request #2668 from quickfur/issue8087
...
Partial fix for issue 8087: improve std.algorithm documentation
2014-11-11 23:30:35 +01:00
Ryan Sullivan
cb34ef28e3
Fixed Typo
...
recursively was spelt incorrectly
2014-11-11 09:44:44 +00:00
H. S. Teoh
26e1190a56
Consistent use of element variable name in .map ddocs.
2014-11-08 21:59:04 -08:00
H. S. Teoh
9a81d2ff59
Reference std.range.chain from joiner.
2014-11-08 08:59:39 -08:00
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