[plt-scheme] strange bug in EOPL (v4.0.x)

From: Eli Barzilay (eli at barzilay.org)
Date: Sun Jul 6 04:33:54 EDT 2008

On Jul  6, Eric Tanter wrote:
> Hi,
> 
> The following program:
> [...]
> Any idea what's going on?

Looks like a bug with `begin' -- this:

  (define (z)
    (begin (display "foo\n")))
  (z)

prints "foo" twice.  Also, it looks like this is fixed in subversion.
For now, you can simply remove that `begin'.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.