[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Thu, 14 Dec 2000 18:01:44 -0600
i'm trying to do the following:
(define (newdefine symbol procedure)
(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?