[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MAPF



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))
?