[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] cond-expand and macros
From: |
John Cowan |
Subject: |
Re: [Chicken-hackers] cond-expand and macros |
Date: |
Thu, 19 Nov 2009 19:27:43 -0500 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Thomas Bushnell BSG scripsit:
> The following code does not work:
>
> (define-syntax foo
> (syntax-rules ()
> ((_)
> (cond-expand
> (chicken (display "all good\n"))))))
> (foo)
>
Calling (features) shows that the feature name is "chicken:", not
"chicken". If you change the above to reference chicken:, all is well.
This is not backward compatible and is still probably a bug, but at
least it's a simple bug.
On the other hand, (cond-expand (chicken (display "all good\n"))) does
output "all good" right away.
--
My corporate data's a mess! John Cowan
It's all semi-structured, no less. http://www.ccil.org/~cowan
But I'll be carefree address@hidden
Using XSLT
On an XML DBMS.
- [Chicken-hackers] cond-expand and macros, Thomas Bushnell BSG, 2009/11/19
- Re: [Chicken-hackers] cond-expand and macros,
John Cowan <=
- Re: [Chicken-hackers] cond-expand and macros, Thomas Bushnell BSG, 2009/11/19
- Re: [Chicken-hackers] cond-expand and macros, Kon Lovett, 2009/11/19
- Re: [Chicken-hackers] cond-expand and macros, John Cowan, 2009/11/19
- Re: [Chicken-hackers] cond-expand and macros, Kon Lovett, 2009/11/19
- Re: [Chicken-hackers] cond-expand and macros, Thomas Bushnell BSG, 2009/11/20
- Re: [Chicken-hackers] cond-expand and macros, Kon Lovett, 2009/11/20
- [Chicken-hackers] Re: cond-expand and macros, felix, 2009/11/22