> 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 <[email protected]>:
> On Wed, 03 Nov 2010 02:04:45 -0400, kenji hara <[email protected]> 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
> [email protected]
> http://lists.puremagic.com/mailman/listinfo/phobos
>
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to