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 MAA11002; Sat, 13 Sep 2003 12:10:07 +0200 (MET DST) 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 MAA13752 for ; Sat, 13 Sep 2003 12:10:06 +0200 (MET DST) Received: from mailhost.ens-lyon.fr (pluvier.ens-lyon.fr [140.77.167.5]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h8DAA5f03305 for ; Sat, 13 Sep 2003 12:10:05 +0200 (MET DST) Received: from [140.77.128.114] (helo=igloo.is-a-geek.org) by mailhost.ens-lyon.fr with smtp (Exim 3.35 #1 (Debian)) id 19y7Lw-0003K2-00 for ; Sat, 13 Sep 2003 12:10:04 +0200 Date: Sat, 13 Sep 2003 12:01:00 +0200 From: David Baelde To: caml-list@inria.fr Subject: Re: [Caml-list] inference engine Message-Id: <20030913120100.281d9363.David.Baelde@ens-lyon.fr> In-Reply-To: <1063436331.12717.11.camel@pelican> References: <1063436331.12717.11.camel@pelican> X-Mailer: Sylpheed version 0.9.0claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Loop: caml-list@inria.fr X-Spam: no; 0.00; ens-lyon:01 caml-list:01 inference:01 ocaml:01 int:01 objects:02 types:03 mean:05 constraint:05 polymorphism:06 explain:09 david:09 david:09 remove:89 notion:10 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk What would mean [> int] & 'a ? Which types belong to this one ? For me, the [<> ...] notion has a only meaning for objects. Actually, I don't understand very well your example, since the constraint on x is not a good thing in ocaml (not necessary) and if you remove it, "f x = x" allows polymorphism. Could you explain us again your idea ? -- David ------------------- 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