guile-devel
[Top][All Lists]
Advanced

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

EVAL should not destructively modify its first argument


From: Matthias Koeppe
Subject: EVAL should not destructively modify its first argument
Date: 09 May 2001 19:41:44 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.6

In the current CVS version, I type:

guile> (define x '(begin 1))
guile> (eval x (resolve-module '(guile-user)))
1
guile> x
(address@hidden 1)

EVAL destructively modifies its first argument (is this `memoizing'?).
This is a bug.  The argument passed to EVAL must not be modified.

-- 
Matthias Köppe -- http://www.math.uni-magdeburg.de/~mkoeppe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]