prefix on syntax-rules

Anthony Carrico <[email protected]>
Newsgroups gmane.lisp.scheme.scsh
Message-ID <[email protected]>
I noticed something a little strange:

(define-structure strange
  (export)
  (open (with-prefix scheme scheme/))
  (begin
    (scheme/define-syntax
     foo
     ;; for some reason, syntax-rules doesn't cache the scheme/ prefix:
     (syntax-rules () ((_) "strange")))

    (scheme/display (foo))
    (scheme/newline)))

-- 
Anthony Carrico
http://giftfile.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.