Does it have effect in special forms in Lisp?

Will it affect the assessment of special forms? Example: (function 'function-name) . If this does not work, why?

+6
lisp quote
source share
1 answer

'name is read (quotation mark name).

FUNCTION expects a function name, a list (setf some-name), or a lambda expression.

(quotation name) is neither one nor the other. So it is a mistake to use it.

+9
source share

All Articles