[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: csirc when transitioning from chicken 4 to 5
From: |
Peter Bex |
Subject: |
Re: csirc when transitioning from chicken 4 to 5 |
Date: |
Wed, 15 Jan 2020 19:28:12 +0100 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
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
signature.asc
Description: PGP signature