guile-devel
[Top][All Lists]
Advanced

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

Re: module trickery


From: Marius Vollmer
Subject: Re: module trickery
Date: 05 Sep 2002 00:40:27 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

address@hidden (Thomas Bushnell, BSG) writes:

> As it happens, I had asked a while ago if there was a version of
> define-syntax that did an export the way define-public does.

Hmm, should be a simple matter of

  (define-macro (define-syntax-public id . rest)
    `(begin 
      (define-syntax ,id ,@rest)
      (export ,id)))

Does that work?
 
> You also posted a patch for syncase that should work for unexported
> macros; will that be in 1.6?

No, I'm afraid not.

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405




reply via email to

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