| To: | scsh-news@zurich.csail.mit.edu |
|---|---|
| Subject: | Re: Macro loading problem |
| From: | Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de> |
| Date: | Mon, 22 Dec 2003 17:07:10 +0100 |
| Organization: | Zentrum fuer Datenverarbeitung |
S³awek ¯ak <szak@era.pl> writes:
> I try to define structure which contains some macros. I can't figure how to
> acomplish this. The code goes like this:
>
> ;; macrolib.scm
> (define-structure macrolib (export when)
> (open scheme)
> (files macros))
You have to declare WHEN as a macro in the interface using the :SYNTAX
type:
(define-structure macrolib (export (when :syntax))
(open scheme)
(files macros))
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Macro loading problem, Sławek Żak |
|---|---|
| Previous by Thread: | Macro loading problem, Sławek Żak |
| Indexes: | [Date] [Thread] [Top] [All Lists] |