caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* let rec x = lazy x
@ 2006-01-11  9:50 Alessandro Baretta
  2006-01-11  9:55 ` [Caml-list] " Mackenzie Straight
  0 siblings, 1 reply; 4+ messages in thread
From: Alessandro Baretta @ 2006-01-11  9:50 UTC (permalink / raw)
  To: Ocaml

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/>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-01-11 10:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-11  9:50 let rec x = lazy x Alessandro Baretta
2006-01-11  9:55 ` [Caml-list] " Mackenzie Straight
2006-01-11 10:04   ` Alessandro Baretta
2006-01-11 10:20     ` Mackenzie Straight

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).