Function types versus arrays
Neal Gafter
neal at gafter.com
Mon Feb 15 17:14:10 PST 2010
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?
More information about the lambda-dev
mailing list