On Wed, Jan 15, 2020 at 11:00:02AM -0700, Matt Welland wrote:
> I have not been able to figure out how to make a .csirc that works for both
> chicken 4 and 5.
> 
> (import (chicken platform)) is not legal for chicken 4 but
> (chicken-version) is not available in chicken 5 until you've done the
> import. Chicken and egg :)

Try cond-expand;

(cond-expand
  (chicken-5
    (import (chicken platform)))
  (chicken-4
    (use extras)))

Cheers,
Peter

Attachment: signature.asc
Description: PGP signature

Reply via email to