[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
From ask to ?
- To: info-macl@cambridge.apple.com
- Subject: From ask to ?
- From: marty@shumun.weeg.uiowa.edu (Marty Christiansen)
- Date: Tue, 18 Feb 92 19:51:47 GMT-0600
I have a couple questions about replacing uses of ask in conversion from Object LISP
to CLOS. In one case the previous code was:
(ask old-text-item (fboundp 'reset-sequence))
Intuition tells me that ((fboundp 'reset-sequence) old-text-item) is not the same thing.
The other case is where previous code is something like:
(ask seq-dlog-item (mapc #'cell-deselect (selected-cells)))
I would in this case bet on:
( mapc #'cell-deselect (selected-cells seq-dlog-item))
as the correct conversion, but It seems that perhaps the object must be specified again
for the application of the function as in:
( mapc #'cell-deselect seq-dlog-item (selected-cells seq-dlog-item) )
Any advice on these would be appreciated...My copy of the second edition of Steele's
book is back ordered.
Marty Christensen
marty@shumun.weeg.uiowa.edu