[plt-scheme] let-syntax is now implemented in r5rs language?

From: Paulo Jorge de Oliveira Cantante de Matos (pocm at mega.ist.utl.pt)
Date: Sat Jul 26 14:11:54 EDT 2003

Hi all,

I'm using plt-scheme 204, the example about let-syntax in the standard
returns an error in plt-scheme 204 using r5rs language:

Welcome to DrScheme, version 204.
Language: Standard (R5RS).
> (let-syntax ((when (syntax-rules ()
                       ((when test stmt1 stmt2 ...)
                        (if test
                            (begin 
                              stmt1
                              stmt2
                              ...))))))
    (let ((if #t))
      (when if 
        (set! if 'now))
      if))
. reference to undefined identifier: let-syntax
> 

Why?

Best regards,

Paulo J. Matos



Posted on the users mailing list.