Commit graph

739 commits

Author SHA1 Message Date
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
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