list - How do i make this transform in lisp? -
I need to create a function that changes the 2 list to lispie? could you help me please?
(ABC) -> ((X) (BE) (CG))
This is an example
The case you asked for:
CL-USER & gt; (Mupiter # 'Opposition' (1 2 3) '(ABC)) ((1A) (2b) (3C.))
If you want to normalize: / P>
cl-user & gt; In the functions: (defun foo (& amp; rest) (# # mapcar # 'Apply list))
which returns:
CL-User & gt; (FO '(1 2 3)' (ABC) '(xy z)) ((1a x) (2b y) (3c z))
Comments
Post a Comment