[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
KCL Bug: assoc doesn't take :key
- To: kcl@cli.com
- Subject: KCL Bug: assoc doesn't take :key
- From: pc%linus@mitre-bedford.ARPA
- Date: Thu, 23 Jun 88 10:42:14 EDT
- Posted-date: Thu, 23 Jun 88 10:42:14 EDT
- Posted-from: The MITRE Corp., Bedford, MA
In porting a couple of systems to KCL, we discovered that under KCL
assoc does not accept the :key keyword as called for in CLtL (p. 280).
To fix this, change the following definition in c/list.d
@(defun assoc_or_rassoc (item a_list &key test test_not)
saveTEST;
@
protectTEST;
setupTEST(item, test, test_not, Cnil);
to
@(defun assoc_or_rassoc (item a_list &key test test_not key)
saveTEST;
@
protectTEST;
setupTEST(item, test, test_not, key);
- Penny