On Wednesday, 27 May 2015 at 12:37:51 UTC, Kagamin wrote:
On Wednesday, 27 May 2015 at 12:34:49 UTC, Daniel Kozák wrote:
What if use the symbol '#' ?
Yep, I like this symbol for macro too.
https://issues.dlang.org/show_bug.cgi?id=2660
OK. This symbol is already used in a wrong place :)
http://dlang.org/lex.html#special-token-sequence
You can still use `:`. The colon is used even to refer to some
Lisp macros, for example:
(loop :for key :in keys
:collect (cons key 0))
Still, as an option, you can use the `'` . This symbol is also
used in Lisp, in some places, for example:
(key-weight 'sweet)
Or apostrophes, too, somewhere involved in the D?