Hi Jon,

On Tue, Jan 27, 2015 at 05:19:39PM +0200, Mike Pechkin wrote:
> Start point to understand difference is difference between (member)
> vs.(memq) and (=) vs. (==)
> http://software-lab.de/doc/ref.html#cmp

Exactly.

'push1q' is in the same line as 'memq', 'delq' or 'asoq'.

Therefore, 'push1q' will behave different from 'push1' when it gets
things which are equal (according to '='), but not pointer-equal
(according to '==').

   (push1 'A (1) (2) (3) (1) (2) (3))
   (push1q 'B (1) (2) (3) (1) (2) (3))
   
   A -> ((3) (2) (1))
   B -> ((3) (2) (1) (3) (2) (1))

♪♫ Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to