guile-user
[Top][All Lists]
Advanced

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

macro difficulties


From: Stefan Israelsson Tampe
Subject: macro difficulties
Date: Tue, 19 Mar 2013 00:02:34 +0100
User-agent: KMail/4.9.5 (Linux/3.5.0-25-generic; KDE/4.9.5; x86_64; ; )

Hi,

I have some problem with syntax-parameters the use case is that I
would like to use both the old binding and the new binding at the same
time e.g.

(define-syntax-parameter a ...)

(...
  (let-syntax ((save (get-transformer a)))
     (syntax-parameterize
         ((a (syntax-rules ()
                ((_ x y) (save x y))
                ((_ x) ...)
                ...)))
        ... )))

I would believe that this is possible in master but how do I get this
semantic to work in guile 2.0?

/Stefan




reply via email to

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