chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] getting exact chicken version during compile-time


From: foobar
Subject: Re: [Chicken-users] getting exact chicken version during compile-time
Date: Tue, 10 Apr 2007 08:07:04 +0200
User-agent: Thunderbird 1.5.0.9 (X11/20070103)

felix winkelmann schrieb:
> On 4/5/07, felix winkelmann <address@hidden> wrote:
>>
>> (define-macro (with-chicken v . body)
>>   (if (string>=? (chicken-version) "2.608")
>>       `(begin ,@body)
>>       '(void) ) )
>>
>
> Ahem,
>
> (define-macro (with-chicken v . body)
>  (if (string>=? (chicken-version) v)
>      `(begin ,@body)
>      '(void) ) )
Thanks, great. A regular at #chicken told me about
(chicken-version) but i didn't realize that it could be used
this way.

greets





reply via email to

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