This is the mail archive of the firstname.lastname@example.org 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]|
email@example.com writes: > 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 instea > d > > 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'? The last call to `l' should, in my opinion at least, have the same result as if `a' had never been defined at all, i.e. an unbound variable error when you try to call it. - Maciej Stachowiak