Re: Enum and Function Parameters Attributes -- No DIP Required

2018-04-12 Thread arturg via Digitalmars-d-announce
On Thursday, 12 April 2018 at 08:28:17 UTC, Mike Parker wrote: Around the same time, a Pull Request was created to implement support for UDAs on function parameters [4]. In the comment thread for this PR, Andrei said that he and Walter "agree this can be integrated without a DIP." When he

Re: Project Highlight: Derelict

2017-06-26 Thread arturg via Digitalmars-d-announce
On Monday, 26 June 2017 at 14:30:13 UTC, Mike Parker wrote: I've just published a wall of text about Derelict. I don't think I've ever written so much about it in one sitting, so it was a fun post to write. As well as (the reminder of how fast time is slipping away aside) a nice walk down

Re: foo => "bar" key/value literals in D!

2016-06-11 Thread ArturG via Digitalmars-d-announce
On Saturday, 11 June 2016 at 15:46:59 UTC, Vladimir Panteleev wrote: Taking an address creates a function pointer, which loses the argument names. (Doesn't it?) unfortunatly yes, but it works as a struct or class initializer https://dpaste.dzfl.pl/6aad852aea90

Re: foo => "bar" key/value literals in D!

2016-06-11 Thread ArturG via Digitalmars-d-announce
On Saturday, 11 June 2016 at 09:07:43 UTC, Andrei Alexandrescu wrote: No, both are nice to have. If one name is needed for both, "args" is indeed a good commonality. "Invoke function f with these args" and "Construct an object of type T with these args". The problem is it's not very