Any ideas what I'm doing wrong?  I tried the example from the documentation:

(sxml-match '(e (@ (i 1)) 3 4 5)
 [(e (@ (i ,d)) ,a ,b ,c) (list d a b c)]
 [,otherwise #f])

and got this error:

#;5> Error: expression not valid outside of quasiquote: (unquote d)

        Call history:

<eval> ((lambda (g324) ((lambda (g325) (if g325 (##sys#apply (lambda (g326 g327) (##syncase#syntax-error g323 (quote "expressi... <eval> ((lambda (g325) (if g325 (##sys#apply (lambda (g326 g327) (##syncase#syntax-error g323 (quote "expression not valid out...
        <eval>            ($syntax-dispatch g324 (quote (any . each-any)))
<eval> (##sys#apply (lambda (g326 g327) (##syncase#syntax-error g323 (quote "expression not valid outside of quasiquote"))) g32...... <eval> (##syncase#syntax-error g323 (quote "expression not valid outside of quasiquote")) <--

I've tried requiring all the extensions which seemed to work fine so I'm at a bit of a loss.

(require-extension syntax-case)
(require-extension htmlprag)
(require-extension sxml-match)

Ian




_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to