Common Lisp
こういう感じでappendする関数があったとしましょう。 1]> (defun append$ (lst1 lst2) (if (null lst1) lst2 (cons (first lst1) (append$ (rest lst1) lst2))))) APPEND$ [2]> (append$ '(a b c d e f g) '(h))この関数は、中身を見たら分かるけども、短い…
こういう感じでappendする関数があったとしましょう。 1]> (defun append$ (lst1 lst2) (if (null lst1) lst2 (cons (first lst1) (append$ (rest lst1) lst2))))) APPEND$ [2]> (append$ '(a b c d e f g) '(h))この関数は、中身を見たら分かるけども、短い…