Closed t0yv0 closed 10 years ago
Sure, go ahead. I suppose you have my email.
I actually don't :) But here is the thing (sorry for cyptic variable names): https://gist.github.com/toyvo/6834822
Ah, saw you on my gtalk contacts and suspected you might have got it somehow.
Added sum types to the mix. Again, performance is dismal, but I am kind of happy I figured the types out.
I also finally have Coq code for these combinators without any undefined holes. As you see, they are very general, work in terms of binary
pair
,choice
andwrap
. My hope is that the Coq definition will help to:Pickler<'T>
, we can partially evaluate the definitions with that, automatically performing specialization.I can share the Coq code if you are interested. Thanks.