[nem-en] Re: [nem-bug] [Nemerle 0000614]: Record to generate
constructor just for not initialized fields
Kamil Skalski
kamil.skalski at gmail.com
Tue Feb 7 15:03:35 CET 2006
> >
> > class C
> > mutable f: list[A] = []
> > f2: int
> > public this(f2:int)
> > this.f2 = f2
>
> I think the idea is worthwhile, I just wonder about the syntax.
> [Record(InitUninitialized)] or something like that?
>
I think we should provide functionality like in Accessor macros, that is:
[Record (Flags = OnlyNotInitialized | Bla | Blu)]
I'm quite suprised, that this is the first request for extending
functionality of Recod macro. But it doesn't mean that they won't
appear in future.
I would like to have for example, "properties" like "exclude" and "include".
--
Kamil Skalski
http://nazgul.omega.pl
More information about the devel-en
mailing list