[Main website]


In Lisp it is not always clear when something is a symbol or a variable.

In Dok I can use $var for variables:

  • the syntax show when something can change
  • it is the idea of a placeholder for a value that can be substituted

Symbols instead are used for

  • fun names
  • class names
  • package names

In CL refences can be substituted by quasi-quotation

(let ((x 4))
  (equal (f x) (funcall `(f ,x)))