From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 701C6BB81 for ; Wed, 11 Jan 2006 10:55:40 +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 k0B9td61004973 for ; Wed, 11 Jan 2006 10:55:40 +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 KAA23800 for ; Wed, 11 Jan 2006 10:55:39 +0100 (MET) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k0B9tcew004969 for ; Wed, 11 Jan 2006 10:55:39 +0100 Received: by zproxy.gmail.com with SMTP id x7so106645nzc for ; Wed, 11 Jan 2006 01:55:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UwP6BtFodW9OqqTL6hCKSPiGk/LWB2X5sO213HwNsBXGwwUEM2bgbz9PCIC6Pw1iZiXuwaVuH0BJ/U8ZRXj57Cjor0/wlMCVcbPh4UJ7A5E8G+1tazABCKa1q23eTVquVDxas+7tJNqh+FUbHATN5XW/7bvSCbMmehHWsbxGmoE= Received: by 10.65.182.20 with SMTP id j20mr145126qbp; Wed, 11 Jan 2006 01:55:38 -0800 (PST) Received: by 10.65.113.18 with HTTP; Wed, 11 Jan 2006 01:55:38 -0800 (PST) Message-ID: Date: Wed, 11 Jan 2006 02:55:38 -0700 From: Mackenzie Straight To: Alessandro Baretta Subject: Re: [Caml-list] let rec x = lazy x Cc: Ocaml In-Reply-To: <43C4D4F7.8090109@barettadeit.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43C4D4F7.8090109@barettadeit.com> X-Miltered: at nez-perce with ID 43C4D61B.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 43C4D61A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 rec:01 lazy:01 baretta:01 baretta:01 barettadeit:01 -rectypes:01 stack:01 libref:01 lazy:01 wrote:01 exception:01 caml:02 seems:03 alessandro:03 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.3 On 1/11/06, Alessandro Baretta wrote: > Strange as it may seem, it seems to work! With -rectypes enabled of cours= e. > > Obviously, forcing x does not produce anything sensible, but it does prod= uce > something. Am I justified in believing that the result is a long chain of > lazy-blocks, the last one containing a Stack_overflow exception? http://caml.inria.fr/pub/docs/manual-ocaml/libref/Lazy.html You don't want to do this.