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 4EB86BC88 for ; Sun, 30 Jan 2005 00:47:26 +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 j0TNlQOW021530 for ; Sun, 30 Jan 2005 00:47:26 +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 AAA29516 for ; Sun, 30 Jan 2005 00:47:25 +0100 (MET) Received: from [IPv6:::1] (yquem.inria.fr [128.93.8.37]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j0TNlNCM021525 for ; Sun, 30 Jan 2005 00:47:25 +0100 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <7f8e92aa05012909335800c97@mail.gmail.com> References: <7f8e92aa0501290415321a8e46@mail.gmail.com> <6b8a914205012905427c79cd85@mail.gmail.com> <7f8e92aa05012909335800c97@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <1F350A61-7250-11D9-866D-000D9345235C@inria.fr> Content-Transfer-Encoding: 7bit From: Damien Doligez Subject: Re: [Caml-list] cyclic types Date: Sun, 30 Jan 2005 00:47:23 +0100 To: caml-list X-Mailer: Apple Mail (2.619) X-Miltered: at nez-perce with ID 41FC208E.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 41FC208B.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; damien:01 damien:01 caml-list:01 wrote:01 iirc:01 doligez:01 doligez:01 cyclic:01 expressive:01 types:02 increment:03 radu:05 inria:05 sense:08 example:10 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=none autolearn=disabled version=3.0.0 X-Spam-Level: On Jan 29, 2005, at 18:33, Radu Grigore wrote: > 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? IIRC, rectypes are off by default because they trade a small increment in expressive power for a large degradation of the intelligibility of type-checking error messages. I don't think they are dangerous in the sense of breaking the type system. -- Damien