[nem-en] Increment and decrement operators

Kamil Skalski kamil.skalski at gmail.com
Sun Feb 26 22:11:23 CET 2006


> > You mean
> >
> > macro @+++ (expr) {
> >    <[ def x = $expr;
> >        $expr = $expr + 1;
> >        x
> >    ]>
> > }
>
> What about overloaded op_Increment?

I don't get... it is quite syntactic issue, so we need a macro here
(or some builtin hack inside the compiler)

>
> So it does screw this up. I'm not sure we want to have it working *that* way...
>

Yap, but I still don't quite get the reason why compiler cannot handle
this case ;)

--
Kamil Skalski
http://nazgul.omega.pl


More information about the devel-en mailing list