guile-devel
[Top][All Lists]
Advanced

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

Re: problems evaluating code depending on version


From: Andy Wingo
Subject: Re: problems evaluating code depending on version
Date: Thu, 17 May 2012 15:25:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

On Thu 17 May 2012 14:47, Stefan Israelsson Tampe <address@hidden> writes:

> I tried cond-expand, just to see if it worked and no
> the export clause does not fall through and the symbols are not exported.
>
> I can fix this as you say by using the new interface syntax-parameter 
> interface
> but I'm curious how to be ably to conditionally export symbols depending on 
> the
> guile-version!

(cond-expand
  (not guile-2.2
   (define-syntax-rule (fluid-let-syntax . l)
     (syntax-parameterize . l)))
  (else #t))

At the top level, not wrapped in (guile-stuff) :)

Andy
-- 
http://wingolog.org/



reply via email to

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