Re: [Chicken-users] irregex-replace return value

2014-03-04 Thread Michele La Monaca
On Tue, Mar 4, 2014 at 1:05 AM, Michele La Monaca mikele.chic...@lamonaca.net wrote: (define (my-own-irregex-replace irx s . o) (let ((m (irregex-search irx s))) (and m (string-append (substring s 0 (irregex-match-start-index m 0)) (apply string-append (reverse

[Chicken-users] Why is it called Chicken?

2014-03-04 Thread Daniel Carrera
Perhaps a silly question, but I'm curious. Why is Chicken Scheme called Chicken? Cheers, Daniel. -- When an engineer says that something can't be done, it's a code phrase that means it's not fun to do. ___ Chicken-users mailing list

Re: [Chicken-users] Why is it called Chicken?

2014-03-04 Thread Kristian Lein-Mathisen
Hi Daniel, There's an interview with Felixhttp://spin.atomicobject.com/2013/05/02/chicken-scheme-part-1/that might answer your question: *One last question: What inspired the names CHICKEN and SPOCK? Do they mean anything, aside from the bird and the well-known Star Trek character?* That

Re: [Chicken-users] Why is it called Chicken?

2014-03-04 Thread Daniel Carrera
Heh. That's great. And thanks for the link. Cheers, Daniel. On 4 March 2014 15:42, Kristian Lein-Mathisen kristianl...@gmail.comwrote: Hi Daniel, There's an interview with Felixhttp://spin.atomicobject.com/2013/05/02/chicken-scheme-part-1/that might answer your question: *One last

Re: [Chicken-users] Matchable not working in module

2014-03-04 Thread Matt Gushee
PS: I am aware of the uri-match egg, and considered using it, but I felt the tree syntax was unnecessarily complex for this application. If I can't get matchable working I might reconsider that choice. On Tue, Mar 4, 2014 at 8:39 PM, Matt Gushee m...@gushee.net wrote: Hi, all-- I'm working on

Re: [Chicken-users] Matchable not working in module

2014-03-04 Thread Evan Hanson
On 05/03/14 16:39, Matt Gushee wrote: However, I'm now getting a compile error like this: : Warning: reference to possibly unbound identifier `ofs' in: : Warning:failure527 : Error: module unresolved: cav-web-fcgi I am using 'match' from the matchable egg to dispatch requests, like

Re: [Chicken-users] Matchable not working in module

2014-03-04 Thread Matt Gushee
Hi, Evan-- On Tue, Mar 4, 2014 at 10:36 PM, Evan Hanson ev...@foldling.org wrote: : [(or ((/ ) GET #f) ((/ articles) GET ofs)) : (send-html (get-article-list-page/html out: #f offset: (string-number ofs)))] `ofs` is only present in the second arm of the `(or ...)` pattern,