Re: CHICKEN version dependent expansion

2022-06-28 Thread Mario Domenech Goulart
Hi, On Tue, 28 Jun 2022 23:00:37 +0300 Lassi Kortela 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>

Re: CHICKEN version dependent expansion

2022-06-28 Thread Christian Himpe
Lassi Kortela schrieb am 2022-06-28: > >>#;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

Re: CHICKEN version dependent expansion

2022-06-28 Thread Lassi Kortela
#;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

Re: CHICKEN version dependent expansion

2022-06-28 Thread Christian Himpe
Christian Himpe schrieb am 2022-06-28: > Lassi Kortela schrieb am 2022-06-28: > > >I am trying to define a function depending on the version of CHICKEN. I > > >was thinking to use "cond-expand" for this purpose, but found no suitable > > >feature in the documentation > > #;1> (cond-expand

Re: CHICKEN version dependent expansion

2022-06-28 Thread Christian Himpe
Lassi Kortela schrieb am 2022-06-28: > >I am trying to define a function depending on the version of CHICKEN. I was > >thinking to use "cond-expand" for this purpose, but found no suitable > >feature in the documentation > #;1> (cond-expand (chicken-5 'a) (chicken 'b) (else 'c)) > a This

Re: CHICKEN version dependent expansion

2022-06-28 Thread Lassi Kortela
I am trying to define a function depending on the version of CHICKEN. I was thinking to use "cond-expand" for this purpose, but found no suitable feature in the documentation #;1> (cond-expand (chicken-5 'a) (chicken 'b) (else 'c)) a

CHICKEN version dependent expansion

2022-06-28 Thread Christian Himpe
Dear All, I am trying to define a function depending on the version of CHICKEN. I was thinking to use "cond-expand" for this purpose, but found no suitable feature in the documentation ( http://wiki.call-cc.org/man/5/Extensions%20to%20the%20standard#cond-expand ) that could achieve this,