[parenscript-devel] FLET name mangling

Vladimir Sedach vsedach at gmail.com
Mon Jan 4 23:47:13 UTC 2010


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

Thanks,
Vladimir

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




More information about the parenscript-devel mailing list