[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- To: (BUG LISP) at MIT-MC, KMP at MIT-MC, Dave.Touretzky at CMU-10A
- From: HIC at MIT-MC (Howard I. Cannon)
- Date: Thu, 29 Nov 79 01:18:00 GMT
- Original-date: 28 NOV 1979 2018-EST
The Lisp Machine has for a very long time had the macros FIRST, SECOND, THIRD,
FOURTH, FIFTH, SIXTH, SEVENTH which I personnaly use anytime I want the
"nth" element of a list -- I find that it makes the code substantially
clearer. I also use (SETF (FIRST foo) bar) (as opposed to (RPLACA foo bar))
when I'm useing the FIRST .. SEVENTH convention. I find this also makes
code more self-documenting. I think MacLisp should institutionalize this
convention, and that perhaps people keep it in mind as a useful tool.
--Howard