Re: sumtype 0.10.0: multiple dispatch

2020-09-23 Thread Bruce Carneal via Digitalmars-d-announce
On Thursday, 24 September 2020 at 02:28:11 UTC, Paul Backus wrote: SumType is a generic sum type for modern D. It is designed to be an improved alternative to `std.variant.Algebraic`. [...] Sure looks like a strong advance. Hope it sees a lot of use.

sumtype 0.10.0: multiple dispatch

2020-09-23 Thread Paul Backus via Digitalmars-d-announce
SumType is a generic sum type for modern D. It is designed to be an improved alternative to `std.variant.Algebraic`. Features: - Pattern matching, including: - Match-by-introspection ("if it compiles, it matches") (★) - Multiple dispatch (★) - Support for self-referential types

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