I want to write a function that takes two arguments
an atom x and a list L and returns a list of numbers in list L that are smaller than x
like for example:
List is (2 10 3 9 4 8) and x is 5
Output should be: (2 3 4)
I guess i can use the less than function
(defun less-than (x y)
(or (< x y))
but it returns less than from the list :(
(remove-if inverted-pred list)?remove-if-not(remove-if (complement #'pred) ...):)