chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CHICKEN version dependent expansion


From: Christian Himpe
Subject: Re: CHICKEN version dependent expansion
Date: Wed, 29 Jun 2022 11:40:37 +0200 (CEST)


Mario Domenech Goulart schrieb am 2022-06-28:
> Hi,

> On Tue, 28 Jun 2022 23:00:37 +0300 Lassi Kortela <lassi@lassi.io> wrote:

> >>> #;1> (cond-expand (chicken-5 'a) (chicken 'b) (else 'c))
> >>> a
> >> This only seems to let me differentiate between major versions and
> > not minor versions, am I correct? I would need to decide based on
> > minor versions.
> >
> > #;2> (cond-expand (chicken-5.3 'a) (else 'b))
> > a
> >
> > To find these, I used the r7rs egg (since the r7rs standard mandates a
> > `features` procedure).
> >
> > $ chicken-install r7rs
> > $ csi -R r7rs
> > #;1> (features)
> > (r7rs srfi-13 srfi-14 ...)

> There's also `features' from chicken.platform, in case you don't want to
> depend on the r7rs egg only for that.

Sorry, I totally overlooked this function, and solely relied on the online docu.

Christian

> All the best.
> Mario
> --
> http://parenteses.org/mario

-- 
Dr. rer. nat. Christian Himpe
University of Münster / Applied Mathematics Münster
Orléans-Ring 10 / 48149 Münster / Germany
https://himpe.science



reply via email to

[Prev in Thread] Current Thread [Next in Thread]