[plt-scheme] Question about map

From: Robby Findler (robby at cs.uchicago.edu)
Date: Thu Jul 3 17:03:27 EDT 2008

On Thu, Jul 3, 2008 at 3:57 PM, Marco Morazan <morazanm at gmail.com> wrote:
> OK, so this looks like a bug to you? --Marco

FWIW, it looks like one to me now:

  Welcome to DrScheme, version 4.0.2.3-svn2jul2008 [3m].
  Language: Essentials of Programming Languages (2nd ed.); memory
limit: 128 megabytes.
  > (letrec ([x 1][y x]) y)
  #<undefined>

That should be 1, not #<undefined>.

I see that in #lang scheme, it works properly, but in r6rs, it isn't.

One could argue that this is the designers intent (and probably that's
the case in the r6rs impl) but I don't think that the change in the
EoPL language is intentional.

Robby


Posted on the users mailing list.