[Issue 14682] [REG2.037] Incorrect interpretation of ~ []
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Jun 11 07:39:29 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14682
--- Comment #7 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Vladimir Panteleev from comment #5)
> I think it should be fixed, because if you want to append [""], you can do
> so explicitly, but if you want to append an empty array, there is no
> convenient syntax for it.
What you want is: define `[]` as a representation of "identity element"
(http://en.wikipedia.org/wiki/Identity_element) for arbitrary concat operation?
Hmm, probably I can agree it's necessary thing.
--
More information about the Digitalmars-d-bugs
mailing list