On Tue 21 Jul 2009 15:10, Daniel Kraft <d...@domob.eu> writes: > Just a little addition to the subject of extensions: I'd very much like > to add lexical-let and lexical-let* as another set of extensions, > because this gives the possibility to use "fast" lexical variables > without the dynamic-scoping-fluid-pain.
Yes, yes. I totally agree. This allows stack allocation of the variables as well, which can be a significant speed win (because of not making so much garbage). > Currently, I did implement some control constructs that could be done as > macros still in the compiler directly (like prog1 or dolist) because > there I can make use of lexical helper variables; lexical-let would > allow using this feature directly from elisp (and implementing these > constructs equivalently as macros). > > So, what do you think about this extension? I think it sounds great! Andy -- http://wingolog.org/