|
From: | Matt Welland |
Subject: | Re: csirc when transitioning from chicken 4 to 5 |
Date: | Wed, 15 Jan 2020 14:15:14 -0700 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |