chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] Re: Finding it unclear how to use sxml-match egg (Ian Ov


From: Reed Sheridan
Subject: [Chicken-users] Re: Finding it unclear how to use sxml-match egg (Ian Oversby)
Date: Wed, 2 Aug 2006 11:08:18 -0500

From: "Ian Oversby" <address@hidden>
Subject: [Chicken-users] Finding it unclear how to use sxml-match egg

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)

Did you (import sxml-matcher)?

Reed Sheridan




reply via email to

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