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

2014-03-05 Thread John Cowan
Matt Gushee scripsit: If by top level you mean the REPL, that's not the issue. That code compiled (many times) and has been running on my web server for 4 months. Only when I wrapped it in a module did it fail to compile. Isn't that a little disturbing? Non-module code is compiled as if it

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,