<p dir="ltr">I did... Earlier in that thread :)</p>
<div class="gmail_quote">On May 30, 2013 7:50 PM, "Dan Olson" <<a href="mailto:zans.is.for.cans@yahoo.com">zans.is.for.cans@yahoo.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
"Diggory" <<a href="mailto:diggsey@googlemail.com">diggsey@googlemail.com</a>> writes:<br>
><br>
> There's another alternative that fits more with D style which is also<br>
> very mathsy.<br>
><br>
> It would be possible to make storage classes work with the colon<br>
> syntax, ie:<br>
><br>
> auto:<br>
>    x = 1;<br>
>    y = 2;<br>
>    f = a => a+1<br>
>    writeln(f(x) + y);<br>
><br>
> Also:<br>
><br>
> immutable:<br>
>    x = 3;<br>
>    y = 4;<br>
><br>
> Kind of like option explicit: off in VB<br>
<br>
Hmmm, why hasn't anybody just suggested doing this?  It seems to work<br>
fine in dmd.<br>
<br>
    auto<br>
        x = 23.5,<br>
        y = 14,<br>
        z = y*x,<br>
        s = "foo",<br>
        w = z * s.length;<br>
<br>
OR<br>
<br>
    immutable<br>
        x = 23.5,<br>
        y = 14,<br>
        z = y*x,<br>
        s = "foo",<br>
        w = z * s.length;<br>
</blockquote></div>