Guile Mailing List Archive

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

Re: Bug??




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


Guile Home | Main Index | Thread Index