Page 3 of 3

Re: Replacing a function in an expression

Posted: Fri Nov 16, 2012 10:15 pm
by abvgdeika
When formulating your problem, you should also think about lexical closures. Assume your piece of LISP code contains the following fragment:

Code: Select all

(flet ((list (&rest argument) .........  definition ..........))
  (LIST a b)    
  (LIST c d e) 
 ....   et cetera ......
)
Are you sure you want to replace function occurences of LIST by "mylist" even in this fragment , inside flet?