Re: syntax-case and modules
Dan <[email protected]>
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Message-ID | <[email protected]> |
I asked the same question on comp.lang.scheme, as Chicken showed the same symtomps. Turns out that syntax-case from release 6.9c onwards supports a (meta) prefix for just this purpose, i.e. "tells the expander that any variable definition resulting from the definition is to be an expand-time definition available only on the right-hand sides of other meta definitions and, most importantly, to transformer expressions." Why not upgrade to the latest psyntax.ss from http://www.cs.indiana.edu/chezscheme/syntax-case/ ? :) I will try to build a custom SISC version and see how it works. -- Dan --- "Scott G. Miller" <[email protected]> wrote: > On Fri, Aug 11, 2006 at 12:40:20PM -0700, Dan wrote: > > It seems that a syntax-case macro cannot use a > > function defined in the same module: > > You need to let the module system know that the > macro needs the > function, eg: > > (module mod ((mac1 f)) > ... ) > > Scott > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642