Why doesn't a LISP defun require a quote before its parameter argument? -


take function:

(defun sum-greater (x y z)  (> (+ x y) z)) 

it's understanding in lisp first element in list represents function performed on subsequent atoms/lists. why doesn't lisp treat x in (x y z) function performed on y , z. not desirable behavior, expected behavior.

presumably function defines defun somehow overrides standard lisp evaluation of list? if so, detail this?

thanks

iirc in common lisp @ least defun macro (hyperspec), meaning may define evaluation strategy whatsoever arguments.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -