Page 1 of 1
What is the use of '&' symbol ?
Posted: Fri Nov 30, 2012 11:33 pm
by sky_coder
I have been wondering what is the use of '&' symbol.
For example ...
Code: Select all
(defun abc ( attr goal &opt prior &aux (tree nil) )
...
)
Re: What is the use of '&' symbol ?
Posted: Wed Dec 19, 2012 12:20 am
by nuntius
Sorry for not replying earlier. In Lisp, "&word" is not the symbol "&" followed by "word", it is actually a single symbol name. The "&" has no special significance to the compiler; it is just something that stands out to the human reader.
Here's a list of common naming conventions.
http://www.cliki.net/naming%20conventions