[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sending function arguments to recursive function calls
From: |
Stefan Monnier |
Subject: |
Re: sending function arguments to recursive function calls |
Date: |
Thu, 09 May 2013 08:23:31 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> Is there a way (and is it better) to set lexical-binding = t locally
> for the new function?
No. But converting existing dynamically scoped code to lexical scoping
is usually pretty easy: set lexical-binding to t at the top of the file,
then byte-compile it, then fix the warnings, and you should be good to go.
Sometimes there's some extra tricks undetected by the simple checks
performed by the byte-compiler, so it doesn't always work as smoothly,
but in most cases it's really a straightforward process.
Stefan
- sending function arguments to recursive function calls, Gauthier Östervall, 2013/05/04
- RE: sending function arguments to recursive function calls, Drew Adams, 2013/05/04
- Re: sending function arguments to recursive function calls, Gauthier Östervall, 2013/05/07
- RE: sending function arguments to recursive function calls, Drew Adams, 2013/05/07
- Re: sending function arguments to recursive function calls, Stefan Monnier, 2013/05/08
- Re: sending function arguments to recursive function calls, Gauthier Östervall, 2013/05/09
- Re: sending function arguments to recursive function calls,
Stefan Monnier <=
- Re: sending function arguments to recursive function calls, Gauthier Östervall, 2013/05/12
- Re: sending function arguments to recursive function calls, Stefan Monnier, 2013/05/13
- Re: sending function arguments to recursive function calls, Gauthier Östervall, 2013/05/17
- Re: sending function arguments to recursive function calls, Dmitry Gutov, 2013/05/17
- RE: sending function arguments to recursive function calls, Drew Adams, 2013/05/17
- Re: sending function arguments to recursive function calls, Dmitry Gutov, 2013/05/19
- RE: sending function arguments to recursive function calls, Drew Adams, 2013/05/21
- Message not available
- Re: sending function arguments to recursive function calls, Pascal J. Bourguignon, 2013/05/19
- Re: sending function arguments to recursive function calls, Dmitry Gutov, 2013/05/20
- Message not available
- Re: sending function arguments to recursive function calls, Pascal J. Bourguignon, 2013/05/20