Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | New function: assq and rassq. | Kaz Kyheku | 2020-02-24 | 1 | -0/+8 |
TXR Lisp is henceforth a dialect in which (cdr (assq key a-list)) works exactly as shown, without substitution of assql or assoc. * eval.c (eval_init): Register assq and rassq intrinsics. * lib.c (assq, rassq): New functions. * lib.h (assq, rassq): Declared. * txr.1: Documented. * tests/012/ashwin.tl: New file. * tests/012/ashwin.expected: New file. |