On Sun, 3 Apr 2005, Neil Jerram wrote:
> Kjetil Svalastog Matheussen wrote:
> > Hi, I have recently stumbled upon various bugs in my code
> > because the order of the evaluation of the elements in a quasiquote
> > list changes.
>
> Changes how? Can you give us an example, to make things concrete?
>
Sorry, this is the stripped down version of the cause of the bug I'm
finding various places:
(let ((a 1))
`( ,(begin (set! a 2) a)
,a))
-> (2 1)
Wouldn't it be better if this one returned (2 2)?
Also, I'm seeing different behaviour in the order of evaluation between
1.6.4 and 1.7 (doesn't have the code available now). I think that is
really bad actually...
--
_______________________________________________
Guile-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/guile-user