lispdoc - results for rassoc |
(rassoc item alist &key key (test nil testp) (test-not nil notp)) | Function: Return the cons in ALIST whose CDR is equal (by a given test or EQL) to the ITEM.
|
Example:(defun handle-special-float (code name) (aif (rassoc code *special-floats*) (car it) (store-error "~A Cannot be represented." name))) | Mentioned in: CLtL2 - 15.6. Association Lists HyperSpec - Function RASSOC, RASSOC-IF, RASSOC-IF-NOT PCL - lookup tables alists and plists |
(rassoc-if predicate alist &key key) | Function: Return the first cons in ALIST whose CDR satisfies PREDICATE. If KEY is supplied, apply it to the CDR of each cons before testing.
|
| Mentioned in: CLtL2 - 15.6. Association Lists HyperSpec - Function RASSOC, RASSOC-IF, RASSOC-IF-NOT PCL - lookup tables alists and plists | |
(rassoc-if-not predicate alist &key key) | Function: Return the first cons in ALIST whose CDR does not satisfy PREDICATE. If KEY is supplied, apply it to the CDR of each cons before testing.
|
| Mentioned in: CLtL2 - 15.6. Association Lists HyperSpec - Function RASSOC, RASSOC-IF, RASSOC-IF-NOT PCL - lookup tables alists and plists | |
(alexandria.0.dev:rassoc-value alist key &key (test 'eql)) | Function: RASSOC-VALUE is an alist accessor very much like RASSOC, but it can be used with SETF.
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |