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 VAA22712; Thu, 17 Jan 2002 21:37:23 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA23004 for ; Thu, 17 Jan 2002 21:37:22 +0100 (MET) Received: from relay-2v.club-internet.fr (relay-2v.club-internet.fr [194.158.96.113]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g0HKbLX19456 for ; Thu, 17 Jan 2002 21:37:21 +0100 (MET) Received: from warp (lns04v-11-6.w.club-internet.fr [212.194.70.6]) by relay-2v.club-internet.fr (Postfix) with SMTP id 301E01AA5 for ; Thu, 17 Jan 2002 21:37:20 +0100 (CET) Message-ID: <02fd01c19f96$548297c0$ac00a8c0@warp> From: "Warp" To: "OCaml" Subject: [Caml-list] OO Interface Date: Thu, 17 Jan 2002 21:34:14 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk If I got a parametrized class like : class p (x:int) (y:int) = object(self) val x = x val y = y method pos = (x,y) rnd How do I write the correct interface for this class ? I can't figure out how to specify the parameters type. I don't want to, but perhaps I have to use a Module ? Thanks Warp ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr