[nem-en] Late Binding in Nemerle
Kamil Skalski
kamil.skalski at gmail.com
Thu Jul 20 21:05:33 CEST 2006
Well, I played a bit with the late binding macros and they work nice. :-)
What do you thing about including them into Nemerle standard macros?
For example under namespace Nemerle.Late;
On 7/13/06, Snaury <snaury at gmail.com> wrote:
> On 7/13/06, Kamil Skalski <kamil.skalski at gmail.com> wrote:
> > def r = late o.Name.[0]; // obtains first letter of property Name
> >
> > Does it mean the same as
> >
> > def r = late {
> > def n = o.Name;
> > n[0]
> > }
>
> Well, yes, logically exactly like this, but saves you one locals allocation :)
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>
--
Kamil Skalski
http://nazgul.omega.pl
More information about the devel-en
mailing list