[plt-scheme] Confusing continuation behavior (a question about)

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Thu Jul 17 17:17:40 EDT 2008

At Thu, 17 Jul 2008 15:53:00 -0500, "Grant Rettke" wrote:
> In v372 I wrote some code (pretty big language) to try to understand
> how one might utilize continuations to write processes that could
> pause and resume.
> [...]
> I just cut it over to 4.0.2 with #lang scheme, and I get a behavior I
> don't understand, it basically enters an infinite loop because the
> execution of the program never reaches the point where cond2 gets set
> to #t.

I haven't looked closely, but:

There's a prompt around each evaluation of a top-level expression, such
as in Pretty Big. There's no such prompt around expressions at the top
of a module.


Posted on the users mailing list.