Function types versus arrays

Rémi Forax forax at univ-mlv.fr
Tue Feb 16 00:42:12 PST 2010


Le 16/02/2010 02:14, Neal Gafter a écrit :
> On Mon, Feb 15, 2010 at 4:40 PM, Rémi Forax<forax at univ-mlv.fr>  wrote:
>    
>> You only need to have object identity when you deal
>> with widening/narrowing conversions.
>>
>> <T>  #T() func(T t) {
>>    return #() (t);
>> }
>>
>> func("foo")
>> can be translated to
>> func("foo").asType(ldc #String());
>>      
> And what if the lambda was placed into a collection before being returned?
>    

You kill my dream :)

Rémi



More information about the lambda-dev mailing list