From: Alessandro Baretta <a.baretta@barettadeit.com>
To: Ocaml <caml-list@inria.fr>
Subject: let rec x = lazy x
Date: Wed, 11 Jan 2006 10:50:47 +0100 [thread overview]
Message-ID: <43C4D4F7.8090109@barettadeit.com> (raw)
Strange as it may seem, it seems to work! With -rectypes enabled of course.
Obviously, forcing x does not produce anything sensible, but it does produce
something. Am I justified in believing that the result is a long chain of
lazy-blocks, the last one containing a Stack_overflow exception?
Alex
--
*********************************************************************
http://www.barettadeit.com/
Baretta DE&IT
A division of Baretta SRL
tel. +39 02 370 111 55
fax. +39 02 370 111 54
Our technology:
The Application System/Xcaml (AS/Xcaml)
<http://www.asxcaml.org/>
The FreerP Project
<http://www.freerp.org/>
next reply other threads:[~2006-01-11 9:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-11 9:50 Alessandro Baretta [this message]
2006-01-11 9:55 ` [Caml-list] " Mackenzie Straight
2006-01-11 10:04 ` Alessandro Baretta
2006-01-11 10:20 ` Mackenzie Straight
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43C4D4F7.8090109@barettadeit.com \
--to=a.baretta@barettadeit.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox