Hacker News new | ask | show | jobs
by _19qg 698 days ago
> Lisps use Macros

IF is a built-in special operator in Common Lisp. COND is a macro, which expands into IF forms.

> (if (> x 1) '(print 'larger))

Stuff like this would not really work Common Lisp for the following code example:

    (let ((x 1))
      (if (> x 1)
        '(print x)))
The evaluator would not know that the X in the print form refers to the lexically bound X from the LET form.