Yes, thank you. Apologies again for my carelessness.
Grem
Gregory Marton <[EMAIL PROTECTED]> writes:
Ack. I think I meant to replace assoc as well, with something like
(lambda (k alist) (cdar alist)).
That wouldn't be assoc-like. (lambda (k al) (car al)) accesses the
correct level of alist structure, but would fault in the case where al
is empty.
So perhaps: (lambda (k al) (and (not (null? al)) (car al))). With
this, the test passes - are you happy with that?
Thanks,
Neil
--
------ __@ Gregory A. Marton http://csail.mit.edu/~gremio/
--- _`\<,_ .
-- (*)/ (*) There's no place like /home
~~~~~~~~~~~~~~~~-~~~~~~~~_~~~_~~~~~v~~~~^^^^~~~~~--~~~~~~~~~~~~~~~++~~~~~~~