unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* macro difficulties
@ 2013-03-18 23:02 Stefan Israelsson Tampe
  0 siblings, 0 replies; only message in thread
From: Stefan Israelsson Tampe @ 2013-03-18 23:02 UTC (permalink / raw)
  To: guile-user

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-18 23:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-18 23:02 macro difficulties Stefan Israelsson Tampe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).