lispdoc - results for count-if |
(count-if pred sequence &rest args &key from-end (start 0) (end nil) (key nil)) | Function: Return the number of elements in SEQUENCE satisfying PRED(el).
|
Example:(defun length7 (list) (count-if #'true list)) | Mentioned in: HyperSpec - Function COUNT, COUNT-IF, COUNT-IF-NOT Successful Lisp - chapter13 |
(count-if-not pred sequence &rest args &key from-end (start 0) (end nil) (key nil)) | Function: Return the number of elements in SEQUENCE not satisfying TEST(el).
|
| Mentioned in: HyperSpec - Function COUNT, COUNT-IF, COUNT-IF-NOT Successful Lisp - chapter13 | |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |