News for hackers. Stuff that matters.
Re:Bloomberg/bucklescript: A back end for the OCaml compiler... by erichocean on Wednesday April 13, 2016 @03:55PM (#11491638)
Can BuckleScript translate (some?) Coq output to JavaScript? If so, what are the limitations?

UPDATE: Looks like the answer is (usually) "no"—Ocaml code generated by Coq frequently uses Obj.magic, which BuckleScript does not support. sigh

Re:Bloomberg/bucklescript: A back end for the OCaml compiler... by jeffsco on Monday April 18, 2016 @01:10AM (#11517825)
What happens if you declare an external function of type 'a -> 'b? Obj.magic is trivial to implement, it's just the typing that is wonky. (Disclaimer: I have never looked at BuckleScript or js_of_ocaml.)