- Code: Select all
(SetQ L '(1 j 3 k 4 h 5 n 6 w))
I have to do a function Order that has a list with 'n' atoms at entry, it must check if each atom of that list is contained in list L and order them according to the order specified in list L, if the atom is not part of the list L then the result will be displayed
- Code: Select all
(Defun Order lst)
(SetQ L2'(w o 5 j 3))
I want to verify this:
- Code: Select all
(Order L2)
result should return:
- Code: Select all
(J 3 5 W)
