<br><font size=2 face="sans-serif"> Is it possible to compile a javascript
program such that you can fire one of the functions from firebug for interactive
javascript debugging? (Firebug is a free javascript debugging plugin to
firefox).</font>
<br>
<br><font size=2 face="sans-serif">For instance I would like to be browsing
</font>
<br>
<br><font size=2 face="sans-serif">http://darcs.haskell.org/yhc/web/jsdemos/HsWTKDemo.html</font>
<br>
<br><font size=2 face="sans-serif">and in firebug, type some </font>
<br>
<br><font size=2 face="sans-serif">somefunction(3)</font>
<br>
<br><font size=2 face="sans-serif">and have it calculate factorial of 3
in the firebug console. </font>
<br>
<br><font size=2 face="sans-serif">First of all, not sure if this question
even makes sense given the continuation passing model for ycr2js. \</font>
<br>
<br><font size=2 face="sans-serif">Secondly, if this is theoretically possible,
is there a sane way to either flag the factorial function so that it is
obvious what it is in the generated javascript, or to "reverse engineer"
the javascript to figure out what function is doing the factorial?</font>
<br>
<br><font size=2 face="sans-serif">thomas.</font>
<br>
<br>
<br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">---</span><br>
<br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">This e-mail may contain confidential and/or privileged information. If you </span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">are not the intended recipient (or have received this e-mail in error) </span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">please notify the sender immediately and destroy this e-mail. Any </span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">unauthorized copying, disclosure or distribution of the material in this </span><br>
<span style="font-family:sans-serif,helvetica; font-size:10pt; color:#000000">e-mail is strictly forbidden.</span><br>