Hacker News new | ask | show | jobs
by thayne 2227 days ago
In common lisp `defun` does not require using `let`.
1 comments

There are two things at play here (1) the implicit body and (2) being able to add new bindings in an existing scope with "def".

CL has an implicit body, but does not allow defining new bindings outside of some dedicated forms (let, etc.). I really prefer having to write "let" forms instead of having new variables added inside the body.