On Tue, Apr 12, 2016 at 5:07 AM, Didier Verna <[email protected]> wrote:
>
>   It seems to me that forcing a variable to be local with the "local"
>   keyword is just like creating a new binding for it using "let". So why
>   both?

local can also be used to pre-declare a variable to lift the scope.
let create a new scope so that you don't need to put local before
every variables.

In general, these are just syntax sugars for similar things that are
convenient in different conditions.

>
> --
> ELS'16 registration open! http://www.european-lisp-symposium.org
>
> Lisp, Jazz, Aïkido: http://www.didierverna.info

Reply via email to