Lisp - mwicat/personal GitHub Wiki

SLIME

M-x slime

Namespaces

#' is shorthand for “Get me the function with the following name.” Without the #', Lisp would treat evenp as the name of a variable and look up the value of the variable, not the function.

The syntax #' is syntactic sugar for FUNCTION, just the way ' is syntactic sugar for QUOTE.11 Thus, you can also get the function object for foo like this: #'foo

(foo 1 2 3) ≡ (funcall #'foo 1 2 3)