Re: DIP 1030-- Named Arguments--Formal Assessment

2020-12-07 Thread Andre Pany via Digitalmars-d-announce
On Monday, 7 December 2020 at 12:13:35 UTC, zoujiaqing wrote: On Thursday, 17 September 2020 at 12:58:06 UTC, Mike Parker wrote: [...] Very practical features, similar to trailing closures, are expected. Implementing the DIP is added to the list of possible gsoc21 projects. Hopefully D is

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-12-07 Thread zoujiaqing via Digitalmars-d-announce
On Thursday, 17 September 2020 at 12:58:06 UTC, Mike Parker wrote: DIP 1030, "Named Arguments", has been accepted. During the assessment, Walter and Atila had a discussion regarding this particular criticism:

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-11-18 Thread ddcovery via Digitalmars-d-announce
On Thursday, 17 September 2020 at 12:59:05 UTC, Mike Parker wrote: On Thursday, 17 September 2020 at 12:58:06 UTC, Mike Parker wrote: DIP 1030, "Named Arguments", has been accepted. https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1030.md Fantastic news. The fact that it is a

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-10-28 Thread Andre Pany via Digitalmars-d-announce
On Wednesday, 28 October 2020 at 02:22:14 UTC, Q. Schroll wrote: On Thursday, 8 October 2020 at 14:05:14 UTC, Andre Pany wrote: [...] Good catch. The DIP doesn't mention opDispatch and it's probably too late to change. I also don't really see a non-breaking way to tell opDispatch about

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-10-27 Thread Q. Schroll via Digitalmars-d-announce
On Thursday, 8 October 2020 at 14:05:14 UTC, Andre Pany wrote: how to this new feature interact with opDispatch? Will there be any possibility to extract the argument names in opDispatch? Good catch. The DIP doesn't mention opDispatch and it's probably too late to change. I also don't really

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-10-08 Thread Andre Pany via Digitalmars-d-announce
On Thursday, 17 September 2020 at 12:58:06 UTC, Mike Parker wrote: DIP 1030, "Named Arguments", has been accepted. During the assessment, Walter and Atila had a discussion regarding this particular criticism:

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-09-23 Thread Walter Bright via Digitalmars-d-announce
On 9/23/2020 7:01 AM, Arun wrote: How does the compiler handle function lookup when there is an ambiguous match, but the ambiguous function is in a different module? What would be the solution? The same way it handles it without named arguments - an error.

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-09-23 Thread Arun via Digitalmars-d-announce
On Thursday, 17 September 2020 at 12:58:06 UTC, Mike Parker wrote: DIP 1030, "Named Arguments", has been accepted. ... Mike, thanks for pulling this together. This question from the feedback thread is still unanswered. How does the compiler handle function lookup when there is an ambiguous

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-09-21 Thread aberba via Digitalmars-d-announce
On Monday, 21 September 2020 at 09:07:39 UTC, Martin Tschierschke wrote: On Thursday, 17 September 2020 at 12:59:05 UTC, Mike Parker wrote: On Thursday, 17 September 2020 at 12:58:06 UTC, Mike Parker wrote: DIP 1030, "Named Arguments", has been accepted.

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-09-21 Thread Martin Tschierschke via Digitalmars-d-announce
On Thursday, 17 September 2020 at 12:59:05 UTC, Mike Parker wrote: On Thursday, 17 September 2020 at 12:58:06 UTC, Mike Parker wrote: DIP 1030, "Named Arguments", has been accepted. https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1030.md I am happy with that, too. So what is the

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-09-18 Thread Jean-Louis Leroy via Digitalmars-d-announce
On Friday, 18 September 2020 at 13:39:14 UTC, Mike Parker wrote: It's from a phone call they had while they were discussing whether to approve or reject the DIP. LOL no wonder I couldn't find it.

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-09-18 Thread Dukc via Digitalmars-d-announce
On Thursday, 17 September 2020 at 12:58:06 UTC, Mike Parker wrote: DIP 1030, "Named Arguments", has been accepted. Good. It has some weaknesses that Rikki's DIP would have avoided but it's also simpler. Good work, Walter! "Named arguments breaks this very important pattern: auto

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-09-18 Thread Mike Parker via Digitalmars-d-announce
On Friday, 18 September 2020 at 13:34:30 UTC, Jean-Louis Leroy wrote: On Thursday, 17 September 2020 at 12:58:06 UTC, Mike Parker wrote: So they decided that a new `std.traits` template and a corresponding `__traits` option are needed which expand into the exact function signature of another

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-09-18 Thread Jean-Louis Leroy via Digitalmars-d-announce
On Thursday, 17 September 2020 at 12:58:06 UTC, Mike Parker wrote: So they decided that a new `std.traits` template and a corresponding `__traits` option are needed which expand into the exact function signature of another function. I have been trying to locate that specific discussion,

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-09-17 Thread Walter Bright via Digitalmars-d-announce
On 9/17/2020 6:42 AM, Jean-Louis Leroy wrote: That being said, does the new feature imply any change in the *parameters* themselves? No. I.e. are there changes in the way the function is defined, No. not only in the way it is called? It only affects calling syntax in providing an

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-09-17 Thread Steven Schveighoffer via Digitalmars-d-announce
On 9/17/20 8:58 AM, Mike Parker wrote: So they decided that a new `std.traits` template and a corresponding `__traits` option are needed which expand into the exact function signature of another function. This, sounds great. I'd love to see the specifics for this. Also, I am very much

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-09-17 Thread aberba via Digitalmars-d-announce
On Thursday, 17 September 2020 at 12:58:06 UTC, Mike Parker wrote: DIP 1030, "Named Arguments", has been accepted. During the assessment, Walter and Atila had a discussion regarding this particular criticism: [...] Calls for celebration... who's in?

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-09-17 Thread angel via Digitalmars-d-announce
On Thursday, 17 September 2020 at 12:58:06 UTC, Mike Parker wrote: DIP 1030, "Named Arguments", has been accepted. I would really want to see tuples ...

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-09-17 Thread Jean-Louis Leroy via Digitalmars-d-announce
On Thursday, 17 September 2020 at 13:45:16 UTC, Mike Parker wrote: On Thursday, 17 September 2020 at 13:42:47 UTC, Jean-Louis Leroy wrote: this point I have some hope that the DIP is not damaging in the way Mike thinks. What Mike thinks appears nowhere in my post :-) OK, s/thinks/reports/

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-09-17 Thread Mike Parker via Digitalmars-d-announce
On Thursday, 17 September 2020 at 13:42:47 UTC, Jean-Louis Leroy wrote: this point I have some hope that the DIP is not damaging in the way Mike thinks. What Mike thinks appears nowhere in my post :-)

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-09-17 Thread Jean-Louis Leroy via Digitalmars-d-announce
On Thursday, 17 September 2020 at 13:23:38 UTC, Jean-Louis Leroy wrote: Actually, Parameters!origFun will carry storage classes, UDAs, etc for all the parameters. And Parameters!origFun[0..1] (note the two dots) will carry everything about the first parameter. The trouble begins when, for some

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-09-17 Thread Jean-Louis Leroy via Digitalmars-d-announce
On Thursday, 17 September 2020 at 12:58:06 UTC, Mike Parker wrote: DIP 1030, "Named Arguments", has been accepted. During the assessment, Walter and Atila had a discussion regarding this particular criticism:

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-09-17 Thread 12345swordy via Digitalmars-d-announce
On Thursday, 17 September 2020 at 12:59:05 UTC, Mike Parker wrote: On Thursday, 17 September 2020 at 12:58:06 UTC, Mike Parker wrote: DIP 1030, "Named Arguments", has been accepted. https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1030.md YES, YES, YES, I had argue in favor of

Re: DIP 1030-- Named Arguments--Formal Assessment

2020-09-17 Thread Mike Parker via Digitalmars-d-announce
On Thursday, 17 September 2020 at 12:58:06 UTC, Mike Parker wrote: DIP 1030, "Named Arguments", has been accepted. https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1030.md