Replacing a function in an expression

Discussion of Common Lisp

Re: Replacing a function in an expression

Postby abvgdeika » Fri Nov 16, 2012 10:15 pm

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?
To understand LISP, you must first understand LISP.
Posts: 20
Joined: Mon Jun 06, 2011 10:59 pm


Return to Common Lisp

Who is online

Users browsing this forum: No registered users and 13 guests