Re: [Chicken-users] chicken slime REPL message

2011-01-28 Thread Joe Python
Ah! I was expecting something in the lines of the clojure repl where it echoes the function name and its namespace it lives in. user=> (defn hello [] (println "hi")) #'user/hello On Thu, Jan 27, 2011 at 11:54 AM, David Krentzlin wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash

Re: [Chicken-users] Need help on sxpath/txpath

2011-01-28 Thread Daishi Kato
Hi, I digged into the problem a little more and found something. In 4.6.0, this is somewhat working: #;24> ((sxpath "//table/tr[td[a[contains(href,'&abc=123&')]]]") (html->sxml "yyy")) ((tr (td (a (@ (href "/xxx/yyy/?zzz&abc=123&")) "yyy" So, I replaced @href with href. Is it correct? Maybe

Re: [Chicken-users] Need help on sxpath/txpath

2011-01-28 Thread Peter Bex
On Fri, Jan 28, 2011 at 11:27:26PM +0900, Daishi Kato wrote: > Hi, > > I digged into the problem a little more and found something. > > In 4.6.0, this is somewhat working: > #;24> ((sxpath "//table/tr[td[a[contains(href,'&abc=123&')]]]") > (html->sxml " href=\"/xxx/yyy/?zzz&abc=123&\">yyy")) > (

Re: [Chicken-users] Need help on sxpath/txpath

2011-01-28 Thread Daishi Kato
At Fri, 28 Jan 2011 15:34:09 +0100, Peter Bex wrote: > > On Fri, Jan 28, 2011 at 11:27:26PM +0900, Daishi Kato wrote: > > Hi, > > > > I digged into the problem a little more and found something. > > > > In 4.6.0, this is somewhat working: > > #;24> ((sxpath "//table/tr[td[a[contains(href,'&abc=1

Re: [Chicken-users] Need help on sxpath/txpath

2011-01-28 Thread Peter Bex
On Sat, Jan 29, 2011 at 12:11:26AM +0900, Daishi Kato wrote: > > It probably is not a chicken-specific problem because the sxpath > > egg includes an unmodified copy of SSAX. > > Looked at: > diff -rw release/3/sxml-tools/sxml-tools/ release/4/sxpath/trunk/sxml-tools/ > > but, I'm not sure is the

[Chicken-users] New python/chicken

2011-01-28 Thread David Dreisigmeyer
This is an improved version of a Chicken REPL embedded in a Python REPL. Variable passing between Python and Chicken is automatic but could probably still use some work. It should be possible to use the Chicken REPL without the need for any special command to interact with Python. If you want to

[Chicken-users] Re: matchable egg usage question

2011-01-28 Thread Alan Post
On Thu, Jan 27, 2011 at 10:21:05PM -0700, Alan Post wrote: > I'm trying to use the matchable egg to detect #!key parameters in > functions I've constructed. I have functions that accept multiple > #!key parameters, and I'm not sure how to make the matchable egg > match |(func ... mykey: myvalue ..

[Chicken-users] syntax-case?

2011-01-28 Thread Joe Python
Is there a egg for syntax-case macros in Chicken 4? - Joe ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] Re: matchable egg ticket #487

2011-01-28 Thread Alex Shinn
On Fri, Jan 28, 2011 at 12:15 AM, Alan Post wrote: > I'm only going to get more demanding out of what I'd like match to > do, I would like the latest version. I've updated matchable from the latest upstream, which includes the fix. -- Alex ___ Chicke

Re: [Chicken-users] Re: matchable egg ticket #487

2011-01-28 Thread Alan Post
On Sat, Jan 29, 2011 at 10:52:15AM +0900, Alex Shinn wrote: > On Fri, Jan 28, 2011 at 12:15 AM, Alan Post > wrote: > > I'm only going to get more demanding out of what I'd like match to > > do, I would like the latest version. > > I've updated matchable from the latest upstream, > which includes

Re: [Chicken-users] matchable egg usage question

2011-01-28 Thread Alex Shinn
On Fri, Jan 28, 2011 at 2:21 PM, Alan Post wrote: > I'm trying to use the matchable egg to detect #!key parameters in > functions I've constructed.  I have functions that accept multiple > #!key parameters, and I'm not sure how to make the matchable egg > match |(func ... mykey: myvalue ...)|.  Th