chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Finding it unclear how to use sxml-match egg


From: Ian Oversby
Subject: [Chicken-users] Finding it unclear how to use sxml-match egg
Date: Wed, 02 Aug 2006 13:33:01 +0000

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]