On Sat, Apr 26, 2008 at 7:33 PM, Todd Dukes <[EMAIL PROTECTED]> wrote:
>
>  It is disapointing that this doesn't work:
>
>       (cond ((null? remaining) (cond-expand (bigloo
>                                              #unspecified)
>                                             (else
>                                              #t)))
>
>  It returns the same error. I assume that the cond-expand is not
>  operated on until after the file is parsed.
>
>  I can easily work around this case by using
>
>       (cond ((null? remaining) #t)
>
>  But I am worried now that other cases may not be as easy.  I guess in
>  that case I can do a cond-expand around an include.  I will write a
>  short test to see if that will work.

That's right - chicken reads the whole toplevel form before doing the
cond-expand, so the reader already has to handle "#unspecified".


cheers,
felix


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to