From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA19376; Fri, 27 Apr 2001 20:51:58 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA17795 for ; Fri, 27 Apr 2001 20:51:57 +0200 (MET DST) Received: from mx1.informatik.uni-tuebingen.de (mx1.Informatik.Uni-Tuebingen.De [134.2.12.5]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f3RIpuL10001 for ; Fri, 27 Apr 2001 20:51:56 +0200 (MET DST) Received: from sunglasses.informatik.uni-tuebingen.de (sunglasses [134.2.11.4]) by mx1.informatik.uni-tuebingen.de (Postfix) with ESMTP id 1E0C64A4 for ; Fri, 27 Apr 2001 20:51:56 +0200 (MST) Received: (from pfitzen@localhost) by sunglasses.informatik.uni-tuebingen.de (8.9.3+Sun/8.9.1) id UAA03530 for caml-list@pauillac.inria.fr; Fri, 27 Apr 2001 20:51:53 +0200 (MET DST) Date: Fri, 27 Apr 2001 20:51:53 +0200 (MET DST) From: Juergen Pfitzenmaier Message-Id: <200104271851.UAA03530@sunglasses.informatik.uni-tuebingen.de> Subject: [Caml-list] co/contra-variance and class ? Content-Type: text/plain To: undisclosed-recipients:; Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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. pfitzen ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr