guile-user
[Top][All Lists]
Advanced

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

address@hidden


From: ctest
Subject: address@hidden
Date: Thu, 14 Dec 2000 18:01:44 -0600
User-agent: Mutt/1.2.5i

i'm trying to do the following:

(define (newdefine symbol procedure)
        (begin
                (println "you just defined something")
                (define symbol procedure)))

doing this has the obvious problem that "procedure" will get evaulated
before getting passed to the inside of the newdefine proedure, therefore
i need to do this as a macro.  But while i've read every book i have on
scheme macros, and tried expirmenting with the guile macro commands, 
and passing differnt parameters to them, i cannot figure out how to get
the guile macros to work.

how would one use the guile macro system to do such a thing?

Thanks
Corey



reply via email to

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