3 ms·
An oldie: https://ashwinram.org/1986/01/28/a-short-ballad-dedicated-to-the-growth-of-programs/ https://ashwinram.org/1986/01/28/a-short-ballad-dedicated-to...
by waterhouse 2y ago
An oldie: https://ashwinram.org/1986/01/28/a-short-ballad-dedicated-to-the-growth-of-programs/ https://ashwinram.org/1986/01/28/a-short-ballad-dedicated-to...
Describes the evolution from:
(cdr (assq key a-list))
to:
(let ((val (assq key a-list)))
(cond ((not (null? val)) (cdr val))
(else nil)))