vl-remove-if-not
(vl-remove-if-not comparator lst)
This function removes all items from
lst list, which do
not match the comparator
function.
Arguments |
comparator
(symbol, function, lambda) function used
for the boolean comparison; must return NIL resp.
non-NIL |
Return |
(list) all items of lst, which match the comparator function (that is, comparator function returns T) |
Example |
(vl-remove-if-not '(lambda
(x) (<= x 5)) '(1 2 3 4 5 6 7 8 9 10)) |
Remarks |
|
© Bricsys NV. All rights reserved. |