From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id AF4A6BC69 for ; Mon, 30 Oct 2006 09:06:14 +0100 (CET) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id k9U86Els018168 for ; Mon, 30 Oct 2006 09:06:14 +0100 Received: from localhost.localdomain (gob75-2-81-56-65-67.fbx.proxad.net [81.56.65.67]) by smtp4-g19.free.fr (Postfix) with ESMTP id 2C9F288F6 for ; Mon, 30 Oct 2006 09:06:14 +0100 (CET) Received: from boris by localhost.localdomain with local (Exim 4.63) (envelope-from ) id 1GeT5v-00081b-E8 for caml-list@yquem.inria.fr; Mon, 30 Oct 2006 10:06:11 +0100 Resent-From: boris@elrond.dynalias.net Resent-Date: Mon, 30 Oct 2006 10:06:11 +0100 Resent-Message-ID: <20061030090611.GA30783@elrond.dynalias.net> Resent-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 357E7BC69 for ; Sun, 29 Oct 2006 10:04:02 +0100 (CET) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id k9T93vIm012573 for ; Sun, 29 Oct 2006 10:04:02 +0100 Received: from localhost.localdomain (unknown [81.56.65.67]) by smtp4-g19.free.fr (Postfix) with ESMTP id 86AA088FC; Sun, 29 Oct 2006 10:03:57 +0100 (CET) Received: from boris by localhost.localdomain with local (Exim 4.63) (envelope-from ) id 1Ge7Vv-0002J5-UE; Sun, 29 Oct 2006 11:03:35 +0100 Date: Sun, 29 Oct 2006 11:03:35 +0100 From: Boris Yakobowski To: Richard Jones Subject: Re: [Caml-list] weird type behavior Message-ID: <20061029100335.GA8195@elrond.dynalias.net> Reply-To: Boris Yakobowski References: <1162050549.23148.26.camel@nfnl> <20061028161226.GA28781@furbychan.cocan.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061028161226.GA28781@furbychan.cocan.org> X-Operating-System: Linux terminus 2.6.17.7-susp User-Agent: Mutt/1.5.13 (2006-08-11) X-Miltered: at concorde with ID 4545B276.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 45446E7D.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-UID: 2923 X-Keywords: Old Resent-Date: Mon, 30 Oct 2006 10:06:11 +0100 X-Spam: no; 0.00; yakobowski:01 yakobowski:01 0100,:01 first-order:01 polymorphism:01 28,:98 polymorphic:01 polymorphic:01 wrote:01 faq:01 faq:01 caml-list:01 typing:01 emulate:01 caml:02 On Sat, Oct 28, 2006 at 05:12:27PM +0100, Richard Jones wrote: > Type variables like '_a are covered here: > > http://caml.inria.fr/pub/old_caml_site/FAQ/FAQ_EXPERT-eng.html#variables_de_types_faibles Note that on this particular topic the new faq is slightly more up-to-date, as it covers the use of objetcs or polymorphic recors to emulate first-order polymorphism. http://caml.inria.fr/resources/doc/faq/core.en.html#typing (section "How to write a function with polymorphic arguments?", as well as the two previous ones). -- Boris