Function types versus arrays
Joshua Bloch
jjb at google.com
Wed Feb 17 09:25:01 PST 2010
I'm not sure why you folks are worrying so much about implementation. At
this point, I believe we should be searching for the best spec. Then we can
worry about implementation. If we can't implement our desired spec, then we
can talk about how to weaken it.
Josh
On Tue, Feb 16, 2010 at 9:26 PM, Neal Gafter <neal at gafter.com> wrote:
> Howard-
>
> Can you please show the implementation of
>
> _Array_From_void_throws_ChangedCharSetException_SAXParseException_UnkownHostException__To_void_throws_AWTException_IOException_SAXException.instance?
>
> Cheers,
> Neal
>
> On Tue, Feb 16, 2010 at 8:58 PM, Howard Lovatt <howard.lovatt at iee.org>
> wrote:
> > (the above translation is an extension of sections 5.2.2, 5.4, and 4.4)
> and:
> >
> >> #void()(throws IOException, AWTException, SAXException)[] array2 =
> array1;
> >
> > becomes:
> >
> > _Callable_void_throws_AWTException_IOException_SAXException[] array2 =
> >
> _Array_From_void_throws_ChangedCharSetException_SAXParseException_UnkownHostException__To_void_throws_AWTException_IOException_SAXException.instance(
> > array1 );
>
>
More information about the lambda-dev
mailing list