Is there any reason why FLET must mangle the function name when there is no name collision detected?
I'd like to be able to do this:
JS> (ps (flet ((foo () x)) (blah foo))) "var foo1 = function () { x; }; blah(foo);"
... without wrapping FOO in a FUNCTION form (this is JS-only code).
- Scott
That's a good point. Turns out doing this also makes the compiler simpler. Patch pushed.
Thanks, Vladimir
2009/12/4 sblist@me.com:
Is there any reason why FLET must mangle the function name when there is no name collision detected?
I'd like to be able to do this:
JS> (ps (flet ((foo () x)) (blah foo))) "var foo1 = function () { x; }; blah(foo);"
... without wrapping FOO in a FUNCTION form (this is JS-only code).
- Scott
parenscript-devel mailing list parenscript-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
parenscript-devel@common-lisp.net