macro does not work if i import scheme base
Issue #247
resolved
$ 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)
-
repo owner -
repo owner - changed status to resolved
Fixing typo (Fixes
#247)→ <<cset dedde2cd7796>>
- Log in to comment
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 :)