macro does not work if i import scheme base

Issue #247 resolved
Former user created an issue
$ sash
sash> (import (scheme base))
#<unspecified>
sash> (define-syntax conde
  (syntax-rules ()
    ((_ (g0 g ...) ...) (disj+ (conj+ g0 g ...) ...))))
Unhandled exception
  Condition components:
  1. &compile
    program: (define-syntax conde (syntax-rules () ((_ (g0 g ...) ...) (d
    source: #f
  2. &compile
    program: (syntax-rules () ((_ (g0 g ...) ...) (disj+ (conj+ g0 g ...)
    source: #f
  3. &syntax
    subform: #f
    form: (disj+ (conj+ g0 g ...) ...)
  4. &who syntax-rules
  5. &message too few ...'s

I think this macro should be working, but when i import scheme base it is rejected. What do you think?

Comments (2)

  1. Takashi Kato repo owner

    Thank you for the report!

    As far as I recall the R7RS syntax-rules, it should behave the same as the R6RS one. So I think it's a bug. I'll fix it :)

  2. Log in to comment