On Oct 10, 2010, at 10:48 AM, Chanwit Kaewkasi wrote:
It has been too late to me to cite it. Sorry about that!
That's OK; the paper just came out.
I made an obscure reference to it in my blog:
http://blogs.sun.com/jrose/entry/an_experiment_with_generic_arithmetic
Here's a file copy:
* Per Bothner [2010-10-10 23:38] writes:
An example I was considering was:
(define (twice f x)
(f (f x)))
My initial thought was to compile this as:
public static Object (Procedure f, Object x) {
MethodHandle f$mh = f.asMethodHandle();
return f$mh.invoke(f$mh.invoke(x));
}
Le 11/10/2010 02:21, Per Bothner a écrit :
On 10/10/2010 02:20 PM, Rémi Forax wrote:
guardWithTest is the missing piece.
It should be something like that:
...
Thanks! This is somewhat tricky - it will take a bit to grok it
property.
And I think I've forgotten to drop the first argument