Commit graph

280 commits

Author SHA1 Message Date
Jack Stouffer
f793024339 Fixed long lines in std/range/package.d 2016-05-10 20:51:39 -04:00
Nick Treleaven
58b1f7a03e Document narrow string front, back
Also make back not compile when T is void, as front does.
2016-05-04 12:23:12 +01:00
Jack Stouffer
98a17937e7 Add informative example to roundRobin 2016-04-27 10:42:19 -04:00
Dmitry Olshansky
0853d4bc2e Merge pull request #4245 from wilzbach/use_new_alias
use the 'new' alias syntax
2016-04-27 17:16:49 +04:00
Dmitry Olshansky
c1027f1970 Merge pull request #4246 from wilzbach/sed_spaces_part_2
style fix: add space after 'for' operator
2016-04-27 16:17:18 +04:00
Sebastian Wilzbach
d1714c9afb minor style fixes 2016-04-27 04:18:22 +03:00
Sebastian Wilzbach
5a8988c149 style fix: add space after for operator 2016-04-27 02:04:02 +03:00
Sebastian Wilzbach
f891779f25 use the new alias syntax 2016-04-27 01:56:50 +03:00
Sebastian Wilzbach
3d67cd228c style fix: space between operators 2016-04-26 22:26:20 +03:00
Dmitry Olshansky
23fcb244ef Merge pull request #4138 from Biotronic/fix-15860
Fix Issue 15860 - lockstep should support foreach_reverse
2016-04-26 18:49:30 +04:00
biotronic
154b0e9cb8 Fix Issue 15860 - lockstep should support foreach_reverse 2016-04-19 22:32:57 +00:00
Steven Schveighoffer
5e91307cff Merge pull request #4013 from MetaLang/iota-length
Clean up iota.Result.length
2016-04-19 11:06:30 -04:00
MetaLang
65cf74d46b Change iota to always have size_t length 2016-04-19 09:21:14 -03:00
Nick Treleaven
0fff9203f8 [trivial] Tweak moveFront example 2016-04-18 13:44:15 +01:00
Andrei Alexandrescu
069b216302 TRIVIAL: reuse popFrontN for stride 2016-04-15 12:06:59 -04:00
Yazan Dabain
9887af3fe6 Fix some imports 2016-04-12 22:15:09 +03:00
Dmitry Olshansky
1d2e88c266 Merge pull request #4069 from John-Colvin/patch-16
faster pairwise summation
2016-04-12 13:17:18 +04:00
Dmitry Olshansky
401158d54a Merge pull request #4167 from 9il/api
clean API for moveAt, fix indexes/lengths to be type of size_t, fix length declarations
2016-04-10 17:07:51 +04:00
Ilya Yaroshenko
3884b9d13a clean API for moveAt 2016-04-10 12:46:55 +02:00
Ilya Yaroshenko
6fa02dabcf fix length declarations 2016-04-10 12:46:55 +02:00
Ilya Yaroshenko
d4fa64bb42 fix index types to size_t 2016-04-10 12:46:51 +02:00
Ilya Yaroshenko
ddf8268d42 UFCS for moveAt, moveFront, moveBack 2016-04-09 09:28:14 +02:00
Ilya Yaroshenko
ff296c514b fix imports 2016-04-07 13:25:18 +02:00
Jack Stouffer
38c243cf91 Fix Issue 13409: add padLeft and padRight 2016-03-24 13:39:44 -04:00
John Colvin
f69a7d9536 fix broken std.range.Take slicing 2016-03-24 13:11:11 +00:00
JakobOvrum
19ccbcf493 Merge pull request #4054 from greenify/docu_locksteep
std.range: explain difference between lockstep and zip
2016-03-13 22:29:04 +09:00
Sebastian Wilzbach
69346b1ea5 std.range: explain difference between lockstep and zip with new examples 2016-03-12 14:58:00 +02:00
Atila Neves
9cc2a5ae59 Replace 'reduce' with 'fold' in the documentation 2016-03-05 18:50:11 +01:00
Sebastian Wilzbach
6c386d6f31 convert docstring examples to unittests 2016-03-03 19:39:12 +02:00
Steven Schveighoffer
b0acb7a394 Fix remaining import deprecation messages 2016-02-22 16:03:12 -05:00
Andrei Alexandrescu
1e74490f44 Merge pull request #3855 from JakobOvrum/range_tail
Add std.range.tail
2016-01-12 13:35:54 -05:00
Brian Schott
44ed1ed839 Merge pull request #3873 from JackStouffer/patch-4
Add Ali's range tutorial to std.range docs
2015-12-30 22:00:46 -08:00
Jack Stouffer
d3b02d7ea5 Add Ali's range tutorial to std.range docs
It was added to the top of std.algorithm but not here.
2015-12-30 18:46:48 -05:00
Benjamin L. Merritt
5f08c058ab Changed "Examples:" in Ddoc to "Example:" 2015-12-17 18:32:41 -08:00
H. S. Teoh
64f43ce42c Merge pull request #3854 from 9rnsr/enforceProp
fix property enforcement
2015-12-15 09:37:12 -08:00
Jakob Øvrum
a16cfc0690 Add std.range.tail
Suggested by Andrei Alexandrescu in this thread:
http://forum.dlang.org/post/n3sfgg$1hpm$3@digitalmars.com
2015-12-10 04:59:31 +09:00
anonymous
1a2ef53923 document that chunkSize must be greater than zero
There's an assert(chunkSize != 0) in the constructor which needs to be
documented.
2015-12-07 13:27:19 +01:00
k-hara
e864e53adc fix property enforcement 2015-12-04 15:42:53 +09:00
Xinok
dda21ec7d1 Issue 15385 2015-11-29 16:16:54 -06:00
Dragos Carp
75cbbef0ab Add asserts for the "compiles" tests 2015-11-16 03:04:07 +01:00
Dragos Carp
eb293b5063 Fix issue 15320 2015-11-13 03:45:29 +01:00
Walter Bright
cf22992cbb Merge pull request #3768 from CyberShadow/pull-20151024-051829
HTML fixes
2015-10-24 15:05:00 -07:00
Vladimir Panteleev
86cf380007 HTML fixes 2015-10-24 06:19:23 +00:00
AndrejMitrovic
e23ec60851 Merge pull request #3714 from CyberShadow/pull-20151013-014236
fix Issue 15198 - evenChunks - std.range.chunks variant which slices …
2015-10-18 19:02:07 +02:00
Vladimir Panteleev
e500230f2e std.range.package: Document evenChunks retuned chunk size implementation 2015-10-18 15:25:48 +00:00
Dragos Carp
d698887729 Remove obsolete TypeTuple references
Replace following names:
std.typetuple      -> std.meta
TypeTuple          -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple     -> Fields

std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Vladimir Panteleev
04349a9cf4 fix Issue 15198 - evenChunks - std.range.chunks variant which slices range into N evenly-sized chunks 2015-10-13 12:53:01 +00:00
Martin Nowak
b861b0fe71 fix spelling in doPut error message 2015-10-03 21:46:57 +02:00
Nicolas Jinchereau
77e3f9c93c fixed typo (newValues3 -> newValues4) 2015-09-26 13:49:43 -04:00
Jack Stouffer
3fb4a9eaea fix issue 15003 2015-09-22 10:45:36 -04:00