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

Bug & co




I think the function `reverse!' in MzScheme 103 is buggy. The behavior
is the following : 

> (define l '(a b c d))
> (reverse! l)
(d c b a)
> l
(a)
^^^  I think that '(d c b a) can be expected here, no?

I also have a question : How can I trace expressions that mutate the
current environment? Should I enumerate each cases (define, set!,
etc.)?

-- 
Jake:"See those berries? That's our breakfast! See that stream? That's
our drinking water!"
Daria:"See that skeleton? That's our future." 
-From "The Teachings Of Don Jake." 

_Manuel Giraud_