Function types versus arrays (reification using interface injection)

Peter Levart peter.levart at gmail.com
Mon Feb 8 16:21:41 PST 2010


> On Mon, Feb 8, 2010 at 3:05 PM, Peter Levart <peter.levart at gmail.com> wrote:
> > Is this to lunatic? Am I missing a bunch of problems possible with this
> > approach?
> 

And the worst thing is that the following would not be possible:

#Object(String)[] array = new #String(Object)[10];

...which defies the purpose of reifying function types in order to enable arrays of function 
types.

I new it was a stupid idea ;-)

Regards, Peter


More information about the lambda-dev mailing list