How can I import Racket's versions of define-syntax and syntax-case into
r5rs?
I tried the following:
 
#lang r5rs
(#%require (only racket define-syntax syntax-case))
(define-syntax (a stx) (syntax-case stx () (_ #'here)))
 
Gives error: macro-transformer: only a `syntax-rules' form is allowed in:
(syntax here)
 
r5rs is not my choice. I use it for Phil Bewig's programming praxis.
 
Thanks, Jos
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to