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] |
chrisb@ans.com.au writes: > > Does the following behaviour indicate a bug?? > > guile> dynamic-link > #<primitive-procedure dynamic-link> > guile> (defined? dynamic-link) > ERROR: In procedure defined? in expression (defined? dynamic-link): > ERROR: Wrong type argument in position 1: #<primitive-procedure > dynamic-link> > ABORT: (wrong-type-arg) > defined? is a procedure that takes symbols in Guile, not a special form that takes variables. Basically you have to use (defined? 'dynamic-link) - Maciej