This page contains the description of the following commands xcons,
The xcons function takes two arguments and creates a cons, like cons, but in a different order. The function could be defined as
(defun xcons (x y) (cons y x))
Examples
[Endymion] (cons 1 2) (1 . 2) [Endymion] (xcons 2 1) (1 . 2) [Endymion] (defun foo () (setq x (+ x 1))) foo [Endymion] (setq x 0) 0 [Endymion] (cons (foo) (foo)) (1 . 2) [Endymion] (xcons (foo) (foo)) (4 . 3)
back to home page © INRIA 2005, 2006 Last modified $Date: 2008/08/05 15:10:34 $