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 PAA12707; Mon, 1 Mar 2004 15:17:47 +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 PAA12696 for ; Mon, 1 Mar 2004 15:17:46 +0100 (MET) Received: from alex.baretta.com ([213.255.109.130]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i21EHrIq025486 for ; Mon, 1 Mar 2004 15:17:54 +0100 Received: from baretta.com (localhost.localdomain [127.0.0.1]) by alex.baretta.com (8.12.8/8.12.8) with ESMTP id i21EIBIP017906 for ; Mon, 1 Mar 2004 15:18:11 +0100 Message-ID: <40434623.6040100@baretta.com> Date: Mon, 01 Mar 2004 15:18:11 +0100 From: Alex Baretta User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ocaml Subject: [Caml-list] Typechecking madness Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; baretta:01 baretta:01 pxp:01 pxp:01 ellipsis:01 typechecking:01 alex:01 alex:01 typechecker:02 node:02 node:02 unit:03 unit:03 variables:06 type:07 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 4 I'm sure the typechecker knows what he's doing, but the following error message does look strange. This expression has type 'a. (('a Pxp_document.node #Pxp_document.extension as 'a) -> unit) -> unit but is here used with type 'b. (('b Pxp_document.node #Pxp_document.extension as 'b) -> unit) -> unit Is this due to the two '#' signs on Pxp_document.extension, yielding two different ellipsis type variables? Alex ------------------- 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