match library for drscheme

Asked by Stefan Ballnat

I tried using the match library, that i found in the source code, with drscheme, which lead to the error:

(define-syntax let-values*
      (syntax-rules ()
        ((_ () B0 B ...) (begin B0 B ...))
        ((_ (((Formal ...) Exp) Decl ...) B0 B ...)
         (call-with-values (lambda () Exp)
                           (lambda (Formal ...)
                             (let-values* (Decl ...) B0 B ...))))))

match.ss:377:6: compile: bad syntax; function application is not allowed, because no #%app syntax transformer is bound

Is this a problem of non-compability with r6rs on Ikarus or on DrScheme or just an incompability between both?

Question information

Language:
English Edit question
Status:
Solved
For:
Ikarus Scheme Edit question
Assignee:
No assignee Edit question
Solved by:
Abdulaziz Ghuloum
Solved:
Last query:
Last reply:
Revision history for this message
Best Abdulaziz Ghuloum (aghuloum) said :
#1

match.ss was ported from Chez to Ikarus and I made no effort to test it on MzScheme (although you should not have much problem providing the little missing bits, leppie has already ported it to IronScheme without trouble).

Aziz,,,

Revision history for this message
Stefan Ballnat (stefan-ballnat) said :
#2

Thanks Abdulaziz Ghuloum, that solved my question.