Code: Select all
(defun filter (lst items-to-filter)
(loop for x in items-to-filter
if (not (member x lst))
collect x))
Code: Select all
(defun filter (lst items-to-filter)
(loop for x in items-to-filter
if (not (member x lst))
collect x))
Code: Select all
(float (+ 232/100 1/1000))
-> 2.321
? (ccl:arglist #'mapcar)
->(FUNCTION LIST &REST CCL::MORE-LISTS)
Yes. They can be used just like ordinary functions.underablackrainbow wrote:Hi. Can someone tell me if a method can be used outside of a generic function?