guile-user
[Top][All Lists]
Advanced

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

Re: module system


From: Dr. Peter Ivanyi
Subject: Re: module system
Date: Thu, 15 May 2003 14:20:35 +0100

address@hidden wrote:

> Hmm, shouldn't this be
> 
>  (defmacro module args
>    `(define-module ,args))
> 

I also tried that. The result is:

address@hidden $ guile -s l.scm 
ERROR: In procedure variable-set-name-hint!:
ERROR: Wrong type argument in position 2 (expecting SYMBOLP): (m m)

The reason I have tried so many variations is that there is slight
difference between defmacro and define-macro but I could not figure
out what. Sometimes one of them works, sometimes the other.

                                Peter Ivanyi




reply via email to

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