Commit graph

752 commits

Author SHA1 Message Date
Andrei Alexandrescu
3c3767c5e8 Merge pull request #2858 from quickfur/std_algo_docs_2
Improve std.algorithm docs (part 2)
2015-01-10 00:10:30 -08:00
H. S. Teoh
1c10d468ef Clarify that "needles" refers to the second runtime parameter. 2015-01-09 07:40:56 -08:00
H. S. Teoh
d79f17444c Add unittest for 13935. 2015-01-08 17:46:16 -08:00
H. S. Teoh
51e390d0bb Issue 13935: do not assume range can be default-initialized.
When the incoming range is parametrized on something that requires a
frame pointer, we cannot declare default-initialized instances of its
type; to work around this in .save, just make a copy of `this` and then
kick it into shape before returning it.
2015-01-08 17:36:42 -08:00
H. S. Teoh
cd6a7d619e Clarify docs of string overload of splitter. 2015-01-08 17:24:16 -08:00
H. S. Teoh
c3b9cc3dc1 Clarify docs for splitter. 2015-01-08 17:21:37 -08:00
H. S. Teoh
8869771682 Improve docs for findAmong(). 2015-01-08 15:03:59 -08:00
H. S. Teoh
6ffc326236 Improve docs for findAdjacent. 2015-01-08 15:03:59 -08:00
H. S. Teoh
d5221aeaeb Improve docs for commonPrefix(). 2015-01-08 15:03:59 -08:00
H. S. Teoh
1b04b3433a Improve docs for endsWith.
Fix typo in docs for startsWith.
2015-01-08 15:03:59 -08:00
H. S. Teoh
ce45858a8a Improve docs for skipOver.
Add missing sig constraints for both skipOver overloads.
2015-01-08 15:03:59 -08:00
H. S. Teoh
78212f5194 Improve documentation of startsWith(). 2015-01-08 12:45:27 -08:00
H. S. Teoh
de4fd9be99 Improve docs for until().
Removed docs from struct Until, because it serves no purpose except to
clutter the docs with another obtuse blob of text in the overload list,
yet none of its members are even documented to begin with. It should
suffice for the docs of until() to describe what can be done with the
returned range.
2015-01-08 12:45:27 -08:00
H. S. Teoh
e4a718fbb7 Add description for countUntil. 2015-01-08 12:45:27 -08:00
H. S. Teoh
9ab5118bfc Add Returns: to boyerMooreFinder(). 2015-01-08 12:45:27 -08:00
H. S. Teoh
26ed3ba980 Improve docs for findSkip(). 2015-01-08 12:45:27 -08:00
H. S. Teoh
ef95e6f540 Improve docs for find() overloads. 2015-01-08 12:45:26 -08:00
H. S. Teoh
7c2b562ed2 Improve docs for group().
Removed ddoc header for struct Group because it gives no additional
information beyond an ugly-looking verbose template type, and the type
of its .front method is "auto" which requires manual explanation anyway.
2015-01-08 12:45:26 -08:00
H. S. Teoh
ee24a3fa9a Improve docs for countUntil and until. 2015-01-08 12:45:26 -08:00
H. S. Teoh
d009f81efd Improve docs for uniq(). 2015-01-08 12:45:26 -08:00
H. S. Teoh
dc37bf11c9 Improve docs for joiner(). 2015-01-08 12:45:26 -08:00
H. S. Teoh
1b16be1f7d Improve docs for splitter() overloads. 2015-01-08 12:45:26 -08:00
Andrei Alexandrescu
c6bc5689b7 Merge pull request #2857 from quickfur/std_algo_docs
Improve std.algorithm docs (part 1)
2015-01-07 17:46:33 -08:00
Andrei Alexandrescu
de5d339278 Merge pull request #2800 from Poita/Issue13781
Fix Issue 13781 - Tuple assign should be @nogc
2015-01-07 16:57:35 -08:00
H. S. Teoh
24da829897 Add Params: to swap(). 2015-01-07 16:43:39 -08:00
H. S. Teoh
976cefb5a7 Improve docs for move(), moveAll(), moveSome(). 2015-01-07 16:41:16 -08:00
H. S. Teoh
a2daf1a34e Improve docs for filter().
Add Params: to filterBidirectional().
2015-01-07 16:20:15 -08:00
H. S. Teoh
a8dba2e669 Add Params: to second overload of fill(). 2015-01-07 16:18:49 -08:00
H. S. Teoh
42d94b8ed7 Capitalize parameter descriptions.
Otherwise the current stylesheet makes them look really odd in HTML, as
they visually meld into the parameter name.
2015-01-07 16:02:03 -08:00
Mike Parker
703e6e2b7d Replace some instances of LINK2 with XREF2. 2015-01-07 17:36:52 +09:00
e10s
e12596b359 Sort lists of functions 2015-01-03 00:46:22 +09:00
Peter Alexander
463fe69311 Fix Issue 13805 - groupBy over nested struct range
GroupByImpl needs to initialize _prev directly in the constructor when it is of a nested struct range.

https://issues.dlang.org/show_bug.cgi?id=13805
2015-01-02 00:40:00 +00:00
H. S. Teoh
30c4f86784 Fixup for PR #2828 to respect line length limits. 2014-12-31 20:22:39 -08:00
Walter Bright
4a5b6789b1 fix execrable formatting 2014-12-31 17:49:43 -08:00
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