As discussed in DConf2015: Python-like keyword arguments
ketmar via Digitalmars-d
digitalmars-d at puremagic.com
Fri May 29 20:28:55 PDT 2015
On Fri, 29 May 2015 14:27:02 +0200, Jacob Carlborg wrote:
> [2] https://github.com/jacob-carlborg/dmd/tree/named_parameters
nice start. with some efforts i ported it as PoC to git HEAD, and added
argument reordering, so
void foo (string a, string b);
...
foo(a:"hello", b:"world");
foo(b:"world", a:"hello");
is working as one expects.
nice addition to Aliced. ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150530/d1828af4/attachment.sig>
More information about the Digitalmars-d
mailing list