From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 1E7BEBB91 for ; Sat, 29 Jan 2005 18:33:22 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j0THXLPe022650 for ; Sat, 29 Jan 2005 18:33:21 +0100 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 SAA18015 for ; Sat, 29 Jan 2005 18:33:21 +0100 (MET) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.200]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j0THXKRA022645 for ; Sat, 29 Jan 2005 18:33:20 +0100 Received: by rproxy.gmail.com with SMTP id i8so67433rne for ; Sat, 29 Jan 2005 09:33:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=LMHT6AHhxHY7H2VIQUO1YBiqMg7IU1JkB8rXfWcSBA08rfM98Ogef/3Csqtz230wwIXnEM27tfNwmaUTDsW/hIiDVrPVkfKzuZabp5aUhYZLSojbsLQ0miUk1jWh5/fuCuEazT4PzXu1LAA8tBIA1tGtfI/jEwF765NsCE07diI= Received: by 10.38.96.6 with SMTP id t6mr206242rnb; Sat, 29 Jan 2005 09:33:19 -0800 (PST) Received: by 10.38.65.58 with HTTP; Sat, 29 Jan 2005 09:33:19 -0800 (PST) Message-ID: <7f8e92aa05012909335800c97@mail.gmail.com> Date: Sat, 29 Jan 2005 19:33:19 +0200 From: Radu Grigore Reply-To: Radu Grigore To: brogoff Subject: Re: [Caml-list] cyclic types Cc: caml-list In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <7f8e92aa0501290415321a8e46@mail.gmail.com> <6b8a914205012905427c79cd85@mail.gmail.com> X-Miltered: at nez-perce with ID 41FBC8E1.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 41FBC8E0.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 wrote:01 -rectypes:01 -rectypes:01 speakeasy:01 typing:01 cyclic:01 types:02 explicit:03 radu:05 radu:05 0800:90 example:10 idea:11 however:12 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.0 X-Spam-Level: On Sat, 29 Jan 2005 09:12:59 -0800 (PST), brogoff wrote: > This comes up relatively frequently, and it is known that having -rectypes > as the default is not a good idea. However, wouldn't explicit typing of > this case sidestep the known problems and eliminate the need for a > -rectypes option here? For now I have setteled for type forest = Forest of forest StringMap.t Can you give an example of why rectypes by default is dangerous? -- regards, radu http://rgrig.idilis.ro/