lispdoc - results for sublis |
(sublis alist tree &key key (test #'eql testp) (test-not #'eql notp)) | Function: Substitute from ALIST into TREE nondestructively.
|
Example:(defun switch-viewpoint (words) "Change I to you and vice versa, and so on." (sublis '((i . you) (you . i) (me . you) (am . are)) words)) | Mentioned in: CLtL2 - 15.4. Substitution of Expressions HyperSpec - Function SUBLIS, NSUBLIS |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |