Commit graph

107 commits

Author SHA1 Message Date
Mathis Beer
f5197c82e7 Fix issue 21088: move alias statement into staticMap mixin body. 2020-07-30 05:51:25 +02:00
The Dlang Bot
77fa44cf45
Merge pull request #7518 from John-Colvin/faster_map
Faster staticMap and Filter
merged-on-behalf-of: Atila Neves <atilaneves@users.noreply.github.com>
2020-07-14 15:15:39 +02:00
Nicholas Wilson
a88271710b
Merge pull request #7542 from ntrel/meta-qual
std.meta: Fix wrong assert for Issue #20863
2020-07-08 17:03:12 +08:00
Nick Treleaven
af629b153b std.meta: Comment out (fix) wrong assert for Issue #20863
Necessary for https://github.com/dlang/dmd/pull/11320
2020-07-06 15:59:59 +01:00
Nick Treleaven
8308cef30b Don't use auto ref lambda 2020-06-21 08:44:41 +01:00
Nick Treleaven
9756265b28 Minor tweaks 2020-06-16 13:30:55 +01:00
Nick Treleaven
74416ab6eb Improve AliasSeq Map example
Inline simple functions, move testRef next to where it's used.
2020-06-16 13:21:53 +01:00
John Colvin
43d6d5bcf1 tweaks 2020-06-06 22:37:36 +01:00
John Colvin
393dea5d09 move to some Mixins for Filter 2020-06-06 17:50:43 +01:00
John Colvin
a9224b138f bring back a bit of the old Filter 2020-06-06 17:34:20 +01:00
John Colvin
3a83e46e49 fix for qualifiers 2020-06-06 17:01:50 +01:00
John Colvin
9876599d11 filter 2020-06-06 17:01:50 +01:00
John Colvin
eceefc3d3c map 2020-06-06 17:01:50 +01:00
The Dlang Bot
5ebf458b50
Merge pull request #7497 from WalterBright/meta-comment
staticMap: explain design
merged-on-behalf-of: Steven Schveighoffer <schveiguy@users.noreply.github.com>
2020-05-27 19:37:45 +02:00
Steven Schveighoffer
5053d19e67
Update wording 2020-05-27 12:33:50 -04:00
Walter Bright
c308dd134c staticMap: explain design 2020-05-25 18:28:03 -07:00
Andrei Alexandrescu
99eb8616fa Even simpler 2020-05-25 12:57:45 -04:00
Andrei Alexandrescu
f82c606a4b
Replace template AliasSeq with a simple alias
This is a direct realization of AliasSeq that better clarifies its intent.
2020-05-24 20:16:11 -04:00
The Dlang Bot
5038ea422a
Merge pull request #7490 from WalterBright/staticMap-cases
speed up instantiation of Filter and staticMap templates
merged-on-behalf-of: Walter Bright <WalterBright@users.noreply.github.com>
2020-05-21 12:17:58 +02:00
Walter Bright
215a49432f speed up instantiation of Filter and staticMap templates 2020-05-21 02:15:32 -07:00
Walter Bright
7a061d91c0 speed up instantation of Reverse and Filter templates 2020-05-21 01:22:24 -07:00
Geod24
04f3979317 Replace 'Issue XXX' with Bugzilla links
Make the links clickable, as was done in the DMD repository.
Also avoids any ambiguity w.r.t. where the issue is stored.
2020-04-13 16:28:09 +09:00
Alexandru Militaru
bb62aaca3d Replaced version (unittest) with version (StdUnittest) to avoid unnecessary overhead when compiling with -unittest 2020-01-19 14:05:17 +02:00
MetaLang
4bfcd20764 Remove trailing whitespace 2019-05-09 17:26:26 +01:00
MetaLang
6140c01ed2 Add Params and Returns sections, and fix typo 2019-05-09 17:26:26 +01:00
John Colvin
0998483fb2 move imports to top 2019-05-09 17:26:26 +01:00
John Colvin
13fcd0c083 formatting 2019-05-09 17:26:26 +01:00
John Colvin
c3ebee93cd test for infinite ranges 2019-05-09 17:26:26 +01:00
John Colvin
9a05c1d50f fix param name in docs 2019-05-09 17:26:26 +01:00
John Colvin
f24698554e Remove unnecessary import 2019-05-09 17:25:45 +01:00
John Colvin
2c56956d4d implement aliasSeqOf for all iterables 2019-05-09 17:25:45 +01:00
Eduard Staniloiu
b1e48693df Remove duplicate of allSatisfy implementation 2018-11-14 19:47:44 +00:00
Eduard Staniloiu
76cc8bb57b Remove duplicate of anySatisfy implementation 2018-11-12 16:50:56 +00:00
Per Nordlöw
fc96b0a99d make some traits iterative using static foreach 2018-10-23 21:22:57 +02:00
Iain Buclaw
fd5facfe04 posix.mak: Enforce whitespace before opening parenthesis for version conditions 2018-09-22 16:57:24 +02:00
Walter Bright
33cceac7ac switch Digital Mars copyright to D Language Foundation 2018-09-05 13:49:46 -07:00
Sebastian Wilzbach
c324714fde Remove a few cases of underscore escaping 2018-06-04 13:05:01 +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
Sebastian Wilzbach
29557f1da3
Merge pull request #6215 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
2018-02-24 12:36:28 +01:00
Jack Stouffer
663b5b9278 Revert addition of StdUnittest 2018-02-20 13:32:32 -05:00
Nick Treleaven
8a0228d13e Fix link title 2018-02-20 13:48:16 +00:00
Nick Treleaven
1119e7c4d0
Change hypen to comma 2018-02-13 12:02:10 +00:00
Nick Treleaven
c9520b7352 Tweak std.meta docs
Replace uses of 'list' with sequence.
S[n] is not the nth element (zero based).
Add links, formatting.
2018-02-07 16:45:02 +00:00
Jack Stouffer
18cbb29b04 Replaced version(unittest) blocks with version(StdUnittest) 2018-02-01 19:56:59 -05:00
Sebastian Wilzbach
7de3787876 Use static foreach in Phobos 2018-01-03 17:30:11 +01:00
Martin Nowak
eb6e63aad1 use proper partion-and-conquer for NoDuplicates
- partition NoDuplicates as well as EraseAllN
- factor out EraseAllN to optimize compile time/mem
2017-11-21 18:59:08 +01:00
Simen Kjærås
a6e9b151fe Fix issue 17995 2017-11-20 16:34:52 +00:00
Ilya Yaroshenko
2eb41fd1bc allow n=0 for std.meta.Repeat 2017-10-18 21:44:09 +07:00
Steven Schveighoffer
4a9549ec7d fix docs a bit. 2017-09-17 14:25:28 -04:00