Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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: