Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] co/contra-variance and class ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-04-27 (18:51)
From: Juergen Pfitzenmaier <pfitzen@i...>
Subject: [Caml-list] co/contra-variance and class ?
It is nice to see the introduction of explicit co/contra-variance
into ocaml. I just read the manual and didn't try some code, but
my understanding is that the variance stuff is only for type definitions
and not for classes. Why is this so ? Variance can be a mighty
tool in dealing with class hierarchies. 


To unsubscribe, mail  Archives: