[Bese-devel] TAL und yaclml

Marco Baringer mb at bese.it
Mon Jul 25 10:12:54 UTC 2005


"Marco Baringer" <mb at bese.it> writes:

> (defmethod template-component-environment nconc
>     ((component show-template-component))
>   (env component))

this is incorrect. try this instead:

(defmethod template-component-environment nconc
    ((component show-template-component))
  (copy-list (env component)))

(nconc method combination is free to modify the value returned by the
methods, most template components build up a new environment object
each time so this was never a problem).


-- 
-Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
	-Leonard Cohen



More information about the bese-devel mailing list