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]

`undefine' bug or feature?

Jost Boekemeier writes:

 > (define a 1)
 > (define (l) (display a))
 > (l) -> 1
 > (undefine a)
 > (l) -> #<undefined>
 > I think it is better to let `undefine' remove the symbol completely instead
 > of setting its value to undefined.

what do you mean by "remove completely"?  in the above example, `l' is
already defined, and its symbol `a' exists for it.  how can you make `l'
forget about `a'?