[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MAPF
- To: GLS at MIT-MC, RICH at MIT-MC
- Subject: MAPF
- From: JONL at MIT-MC (Jon L White)
- Date: Fri, 18 Jul 80 21:31:00 GMT
- Cc: GJS at MIT-MC, DANNY at MIT-MC, (BUG LISP) at MIT-MC
- Cc: (BUG LISPM) at MIT-MC
- Original-date: 18 JUL 1980 1731-EDT
Say, just a reminder that NIL has snarfed the name MAPF as
a kind of generalized mapper (see MC:NIL;NEWFUN >, and search
for MAPF).
Date: 18 July 1980 16:59-EDT
From: "Guy L. Steele, Jr." <GLS at MIT-AI>
. . .
(DEFMACRO MAPF (STRUCT FIELDS LIST)
(DO ((F FIELDS (CDR F)) . . .
. . .
(MAPF A-FOO (FOO-REG FOO-VAL FOO-INDEX) (HACK-UP-A-3-LIST))
Also, is there any intention for this suggestion to take non-constant
lists of fields?
Date: 18 July 1980 15:58-EDT
From: Charles Rich <RICH at MIT-AI>
. . .
(MAPC #'(LAMBDA (F) (SETF (F STRUC) NIL))
'(FIELD1 FIELD2 FIELD3 ...))
For examply, would you want to do
(MAPC #'(LAMBDA (F) (SETF (F STRUC) NIL))
(MUMBLIFY))
?