[Home] [By Thread] [By Date] [Recent Entries]
--On 07 August 2009 11:58 +0100 Michael Kay wrote:
> Michael Kay wrote: > > http://snelson.org.uk/~jpcs/higher-order-functions.html 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
|

Cart



