[phobos] expand for std.metastrings
kenji hara
k.hara.pg at gmail.com
Wed Nov 3 22:04:46 PDT 2010
> P.S. Does expansion of types work? i.e. q{$int} == "int".
It does not, but can use ${int.stringof}.
Kenji
2010/11/4 Robert Jacques <sandford at jhu.edu>:
> On Wed, 03 Nov 2010 02:04:45 -0400, kenji hara <k.hara.pg at gmail.com> wrote:
>>
>> Paste my old code which creates tagged-union.
>> Is this a example of strong argument?
>
> Strong argument: no. Borderline argument: yes. Mainly it's ugly because it's
> an example from (I assume) a time before you knew strings could be
> multi-lined. Switch to using multi-line strings, and it cleans up rather
> nicely.
>
> P.S. Does expansion of types work? i.e. q{$int} == "int".
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>
More information about the phobos
mailing list