Lisp/Special Forms
< Lisp
Special Operators
(quote form)
'(form) |
Doesn't evaluate form, but returns it as a list. |
(function func-name)
#'func-name |
Returns the function identified by the symbol func-name. |
(if test-form then-form [ else-form ]) | Evaluates test-form. If nil, then evaluates else-form and returns it. Otherwise, then-form. |
(return-from func-name value) | Returns from the function func-name with value, skipping the rest of the execution. |
(defun func-name (params) [ "description" ] (body)) | Defines a new function and stores it in func-name (Is this a macro or a special op?) |
(lambda (params) (body)) | Creates and returns an anonymous function. |