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                        co...@ccil.org
    Using XSLT
On an XML DBMS.


_______________________________________________
Chicken-hackers mailing list
Chicken-hackers@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to