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 AAA02157; Thu, 13 Mar 2003 00:09:31 +0100 (MET) 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 AAA01801 for ; Thu, 13 Mar 2003 00:09:30 +0100 (MET) Received: from avalon.ens-lsh.fr (mailhost.ens-lsh.fr [193.51.131.2]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h2CN9UX10062 for ; Thu, 13 Mar 2003 00:09:30 +0100 (MET) Received: from avalon.ens-lsh.fr (localhost [127.0.0.1]) by avalon.ens-lsh.fr (8.12.8/8.12.8) with ESMTP id h2D07ZKr015040 for ; Thu, 13 Mar 2003 00:07:35 GMT Received: from ens-notes1.ens-lsh.fr (ens-notes1.ens-lsh.fr [10.2.1.44]) by avalon.ens-lsh.fr (8.12.8/8.12.8) with ESMTP id h2D07Yto015037 for ; Thu, 13 Mar 2003 00:07:35 GMT Received: from ens-lyon.fr ([10.3.25.133]) by ens-notes1.ens-lsh.fr (Lotus Domino Release 5.0.10) with SMTP id 2003031300082291:8032 ; Thu, 13 Mar 2003 00:08:22 +0100 Date: Thu, 13 Mar 2003 00:07:16 +0100 From: Damien To: caml-list@pauillac.inria.fr Subject: [Caml-list] polymorphic methods Message-Id: <20030313000716.3e6bb57c.Damien.Pous@ens-lyon.fr> Organization: mosthagloups X-Mailer: Sylpheed version 0.8.10claws13 (GTK+ 1.2.10; i386-debian-linux-gnu) Mime-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on ens-notes1/ENS-LSH(Release 5.0.10 |March 22, 2002) at 13/03/2003 00:08:23, Serialize by Router on ens-notes1/ENS-LSH(Release 5.0.10 |March 22, 2002) at 13/03/2003 00:08:24, Serialize complete at 13/03/2003 00:08:24 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Spam: no; 0.00; damien:01 ens-lyon:01 polymorphic:01 abbreviation:02 unit:03 object:03 type:07 expands:08 hello:15 method:16 but:16 why:17 methods:17 thanks:21 does:23 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello, Does someone know why the following class type is not accepted ? # class type a = object method m: 'a. (#a as 'a) -> unit end;; The abbreviation #a expands to type #a but is used with type < .. > # Thanks, Damien ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners