Function types versus arrays

Neal Gafter neal at gafter.com
Tue Feb 16 21:26:40 PST 2010


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