[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: RE: What are the differences between the different

Subject: RE: RE: What are the differences between the different Saxon 9.2 versions and 9.1 (B) <----> 9.2 (HE) ?
From: Owen Rees <owen.rees@xxxxxx>
Date: Fri, 07 Aug 2009 12:54:30 +0100
RE:  RE: What are the differences between the different
--On 07 August 2009 11:58 +0100 Michael Kay wrote:

>  Michael Kay wrote:
>
>  http://snelson.org.uk/~jpcs/higher-order-functions.html

Thank you for the link.

Any reason why the subtyping relation is invariant for the
argument types instead of being more generally contravariant?

Sorry, I'm not in with the jargon. Can you explain the question?

A pointer to where in the text it says that the subtype relation is invariant would also be useful.


My first impression of section 2.3 is that the formula given for what "obviously matches" says that contravariant argument types are supported. (For those who do not know the jargon, it just means that the type relation for the arguments is in the opposite direction from the type relation for the result and the function as a whole.

--
Owen Rees; speaking personally, and not on behalf of HP.
========================================================
Hewlett-Packard Limited.   Registered No: 690597 England
Registered Office:  Cain Road, Bracknell, Berks RG12 1HN

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.