Re: [Chicken-hackers] cond-expand and macros

2009-11-20 Thread Thomas Bushnell BSG
On Thu, 2009-11-19 at 18:33 -0800, Kon Lovett wrote: Features are converted to keywords. The colon suffix is just the default read/print form; #:keyword is the context-independent form. The manual needs to document this; right now, one might have thought they were ordinary symbols given every

Re: [Chicken-hackers] cond-expand and syntax-rules on Chicken 4

2009-11-20 Thread Thomas Bushnell BSG
On Fri, 2009-11-20 at 13:40 +0900, Alex Shinn wrote: Thomas Bushnell BSG t...@becket.net writes: This is inconsistent with the behavior of syntax-rules as documented by srfi 5, and has the effect of making it essentially impossible to have macros which expand to cond-expand tests that

[Chicken-hackers] define-foreign-type and unusad variable warnings

2009-11-20 Thread Thomas Bushnell BSG
The use of define-foreign-type creates secret global variables with gensymed names which are used to wrap around the argument conversion functions. Two such names are created for each define-foreign-type form (indeed, if the optional RETCONVERT is not provided, a global is still created to hold

Re: [Chicken-hackers] cond-expand and macros

2009-11-20 Thread Kon Lovett
On Nov 20, 2009, at 10:05 AM, Thomas Bushnell BSG wrote: On Thu, 2009-11-19 at 18:33 -0800, Kon Lovett wrote: Features are converted to keywords. The colon suffix is just the default read/print form; #:keyword is the context-independent form. The manual needs to document this; right now,