From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 300C6BBAF for ; Thu, 18 Feb 2010 15:24:20 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah8CANfbfEvUGyoBkWdsb2JhbACDBZgDFQEBAQEJCwoHEwMgrl+PbIExglJkBA X-IronPort-AV: E=Sophos;i="4.49,497,1262559600"; d="scan'208";a="57239776" Received: from smtp1-g21.free.fr ([212.27.42.1]) by mail4-smtp-sop.national.inria.fr with ESMTP; 18 Feb 2010 15:24:14 +0100 Received: from smtp1-g21.free.fr (localhost [127.0.0.1]) by smtp1-g21.free.fr (Postfix) with ESMTP id DAAFE9401BE for ; Thu, 18 Feb 2010 15:24:09 +0100 (CET) Received: from tenebreuse.gim.name (bob75-4-82-229-193-250.fbx.proxad.net [82.229.193.250]) by smtp1-g21.free.fr (Postfix) with ESMTP id F183994019E for ; Thu, 18 Feb 2010 15:24:06 +0100 (CET) Received: by tenebreuse.gim.name (Postfix, from userid 1000) id 85CA8D7BA; Thu, 18 Feb 2010 15:24:06 +0100 (CET) Date: Thu, 18 Feb 2010 15:24:06 +0100 From: =?utf-8?B?U3TDqXBoYW5l?= Gimenez To: The Caml Mailing List Subject: Re: type generalization of recursive calls Message-ID: <20100218142406.GA511089@tenebreuse> Mail-Followup-To: =?utf-8?B?U3TDqXBoYW5l?= Gimenez , The Caml Mailing List References: <20100217163424.GA38458@tenebreuse> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100217163424.GA38458@tenebreuse> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam: no; 0.00; gimenez:01 gimenez:01 recursive:01 damien:01 workarounds:01 ocaml:01 coq:01 phane:98 phane:98 pps:01 jussieu:01 data:02 caml:02 btw:03 occurrence:03 Hi, Thanks for your answers. Thanks to Damien for the handy workarounds and to Boris for the sevral insightful comments. I'll probably switch to the svn version, waiting for 3.12... I think 3.13 was a typo, see: http://caml.inria.fr/svn/ocaml/trunk/Changes Stéphane PS: btw, looks like coq is not really fond of this data type: Inductive t a : Type := | E : t a | D : t a -> t a -> t a | O : a -> t a | I : t (t a) -> t a . Error: Non strictly positive occurrence of "t" in "t (t a) -> t a".