This is the mail archive of the 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]

Testing availabilty of a procedure


I try to test wether a procedure is defined, and define
it if it isn't:

(if (procedure? a)
    (define (a) #t))

but if a isn't defined at all, this doesn't work.
Any other ideas?



Ingo Hohmann <>