This is the mail archive of the email@example.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]|
>>>>> "Jost" == Jost Boekemeier <firstname.lastname@example.org.TU-Berlin.DE> writes: Jost> Keith Wright <email@example.com> writes: Jost> (define (b) (display a)) (define a 12) (b) -> 12 Jost> (undefine a) a -> ERROR (b) -> value "undefined" Jost> ^^^^^^^^^^^^^^^^^ WRONG! That looks like a bug in the evaluator, not a problem with undefine. Jost> Doesn't `(environment-bound? (car (the-environment)) <sym>)' Jost> do what you want? (See Jim Blandy's environment proposal). Ouch! I hope that's going to be hidden! I think "define", "undefine", and "defined?" make sense even without a module system. Cheers, Clark