Nathan Sashihara
9112e31e50
Fix Issue 18933 - std.range.assumeSorted should not nest SortedRange!(SortedRange!(...), pred)
2018-06-18 17:12:32 -04:00
Walter Bright
a6f0c855e9
add scope to NullSink
2018-06-08 17:42:52 -07:00
Sebastian Wilzbach
c324714fde
Remove a few cases of underscore escaping
2018-06-04 13:05:01 +02:00
Steven Schveighoffer
30e0d82b18
Update documented unit test now that char[] can be an output range.
2018-04-24 11:12:29 -04:00
Steven Schveighoffer
8769ea9e46
Fix issue 18790 - Add ability for char[] and wchar[] to be output ranges.
2018-04-23 09:17:49 -04:00
The Dlang Bot
e13e3889ac
Merge pull request #6435 from JackStouffer/input-range-link
...
Make references to input ranges a link to isInputRange
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-04-15 01:42:45 +02:00
Steven Schveighoffer
d4a35f09da
More removal of version(unittest)
2018-04-13 12:20:02 -04:00
Sebastian Wilzbach
4c016d129f
Remove superfluous _range used to avoid auto-highlighting
2018-04-09 21:31:57 +02:00
Jack Stouffer
e14f89e170
Make references to input ranges a link to isInputRange
2018-04-08 16:19:57 -04:00
Sebastian Wilzbach
42894784dd
Markdownify Phobos
...
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Jack Stouffer
f7c76e605d
Add example to chain explaining char corner cases
2018-03-31 13:05:52 -04:00
The Dlang Bot
1db9cbedd8
Merge pull request #6307 from n8sh/zip-shortest
...
Fix Issue 18638 - The main override of std.range.zip could infer @nogc and nothrow
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-03-30 03:38:47 +02:00
Jack Stouffer
40f1c4c429
[Trivial] Skip Unittests on mismatched_args_check, remove std.range.primitives
2018-03-27 11:00:11 -04:00
Nathan Sashihara
259cf754bb
Fix Issue 18638 - The main override of std.range.zip could infer @nogc and nothrow
...
ZipShortest impl. a bit more efficient than Zip because doesn't need
switch statements with code for each stopping policy. Also in some cases
only needs to check one range for `empty` or `length` rather than all.
Also correctly handles `back` when ranges have unequal lengths.
2018-03-26 20:19:01 -04:00
Sebastian Wilzbach
87301eb1b5
Merge remote-tracking branch 'upstream/stable' into merge_stable
2018-03-25 18:23:14 +02:00
Sebastian Wilzbach
8f86a0d734
Fix if constraints indentation
2018-03-24 13:17:53 +01:00
Sebastian Wilzbach
1466e23360
std.range: Add example for withPartial for slide + improve docs
2018-03-22 15:15:12 +01:00
Jack Stouffer
773ec06f24
Combine docs for std.range.repeat
2018-03-22 08:52:33 +01:00
Jack Stouffer
b10151ab9e
Add examples to std.range.primitives and enable dscanner check
2018-03-20 16:27:48 -04:00
Sebastian Wilzbach
beb2aff239
Merge pull request #6300 from JackStouffer/range-examples4
...
Add examples for TransverseOptions, isTwoWayCompatible, SearchPolicy
2018-03-20 15:48:11 +01:00
Jack Stouffer
75081f6083
Merge pull request #6299 from JackStouffer/range-examples3
...
Add documentation for StoppingPolicy and Fix docs for Lockstep
2018-03-20 10:24:35 -04:00
Jack Stouffer
52f3f5f969
Add examples for TransverseOptions, isTwoWayCompatible, SearchPolicy
2018-03-20 08:49:31 -04:00
Jack Stouffer
608238119c
Add documentation for StoppingPolicy and Fix docs for Lockstep
2018-03-20 08:41:47 -04:00
Sebastian Wilzbach
5bb670edec
Merge pull request #6297 from JackStouffer/range-examples2
...
Fix documentation for Take, Cycle, and Choose
2018-03-20 13:14:58 +01:00
Jack Stouffer
7f4138cc70
Fix documentation for Take and Cycle
2018-03-19 12:54:38 -04:00
Jack Stouffer
963da127ce
Added public example for assumeSorted
2018-03-19 12:47:39 -04:00
Jonathan M Davis
1436fca1cc
Add website link to author name for Jonathan M Davis.
2018-03-10 16:31:23 -07:00
Nathan Sashihara
a5b69d5487
Fix Issue 18524 - std.range.Zip.moveBack instead performs moveFront
2018-02-26 07:40:28 -05:00
Jack Stouffer
663b5b9278
Revert addition of StdUnittest
2018-02-20 13:32:32 -05:00
Sebastian Wilzbach
d9830b739e
Fix DScanner warnings
2018-02-10 22:46:32 +01:00
The Dlang Bot
3a9a8b8c3f
Merge pull request #6119 from wilzbach/slide-docs
...
Move public examples of slides, s.t. they can be detected by ddoc
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2018-02-04 02:26:38 +01:00
Sebastian Wilzbach
425c02a82f
Move public examples of slides, s.t. they can be detected by ddoc
2018-02-04 00:21:22 +01:00
Jack Stouffer
18cbb29b04
Replaced version(unittest) blocks with version(StdUnittest)
2018-02-01 19:56:59 -05:00
Sebastian Wilzbach
7fb3d4249f
Remove references to STL
2018-01-30 16:08:20 +01:00
Andrei Alexandrescu
9d7b13b95b
Merge pull request #5961 from wilzbach/std-range-nullSink
...
std.range.nullSink - allow convenient use of the NullSink
2018-01-26 18:41:56 -05:00
RazvanN7
fa52c3f709
Fix erroneous imports in unittests
2018-01-23 13:10:34 +02:00
Jack Stouffer
c9122a534a
Added more examples to std.range.put
2018-01-17 13:46:59 -05:00
Sebastian Wilzbach
1a94c194c6
Revive std.range.slide
2018-01-17 06:36:46 +01:00
Jack Stouffer
6909455910
Make the behavior of put with slices clear
2018-01-16 10:57:21 -05:00
Sebastian Wilzbach
7de3787876
Use static foreach in Phobos
2018-01-03 17:30:11 +01:00
Sebastian Wilzbach
b80820e50f
std.range.nullSink - allow convenient use of the NullSink
...
`nullSink` returns the `NullSink` by reference and thus allows using it
directly in code which expects an OutputRange by reference.
The pattern is providing convenience wrappers for struct construction is
very common in Phobos, e.g. `rebindable`, `nullable`, `refCounted`, ...
2017-12-25 00:02:04 +01:00
Steven Schveighoffer
66d3950f5f
get rid of stray parenthesis
2017-12-18 17:05:21 +01:00
Steven Schveighoffer
7a7bd7d33f
One additional TD needed
2017-12-18 17:05:21 +01:00
Dashster
3750edc64f
Update interfaces.d
...
$(TR $(TD $(LREF OutputRangeObject))
$(TD Class that implements the $(D OutputRange) interface and wraps the
$(D put) methods in virtual functions.
*************************************************************
)) <- add the missing ending double parentheses
***************************************************************
2017-12-18 17:05:21 +01:00
Sebastian Wilzbach
058fdd8ebb
Fix Issue 18092 - Can't combine take and takeExactly
2017-12-18 05:27:45 +01:00
Sebastian Wilzbach
45760aa001
Add @safe to unittest in std.range
2017-12-17 20:43:06 +01:00
Sebastian Wilzbach
9e58ebb708
Add platform-dependent tests for std.range.hasLength
2017-12-13 09:11:45 +01:00
Sebastian Wilzbach
b97afe2016
Move deprecations along: std.range.hasLength
2017-12-13 07:25:44 +01:00
John Colvin
909fe002b0
no more underscores
2017-12-08 21:26:23 +00:00
John Colvin
f27932fbf5
unecessary annotations
2017-12-08 21:05:28 +00:00