That's a good point. Turns out doing this also makes the compiler
simpler. Patch pushed.

Thanks,
Vladimir

2009/12/4  <[email protected]>:
> 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
> [email protected]
> http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>

_______________________________________________
parenscript-devel mailing list
[email protected]
http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel

Reply via email to