This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

AAAAAArgh! (Modules)


I have this working:

> (define-syntax sonya (syntax-rules ()
>   ((sonya <first> ...) ((lambda () 
>     (sonya-debug-display "Running sonya...\n")
>     (sonya-eval () (list <first> ...))
>     ))
>   )
> ))

But now I want to make sonya.scm a module, and I just found out
that the module system doesn't know about define-syntax. How can
I export "sonya" from a module? Documentation on syntaxes and
macros is so annoying...

[]s,
                                               |alo
                                               +----
--
      I am Lalo of deB-org. You will be freed.
                 Resistance is futile.

http://www.webcom.com/lalo      mailto:lalo@webcom.com
                 pgp key in the web page

Debian GNU/Linux       --        http://www.debian.org