js-of-ocaml Questions

1

I am building a JavaScript library that is implemented in Ocaml and compiled to JavaScript using js_of_ocaml. One of my Ocaml function returns a string with binary data. How can I expose that usin...
Rerun asked 17/9, 2018 at 9:53

1

I am new to JavaScript, I am trying to use js_of_ocaml. I first wrote a very simple cubes.ml: let simple (a: int) = a + 1234 Then complied it: ocamlfind ocamlc -package js_of_ocaml -package j...
Scleroderma asked 6/5, 2016 at 13:7

3

Solved

I am currently working on a website project written in OCaml and compiled to javascript using js_of_ocaml. It works pretty well as long as I have only one source file using the command ocamlfind oc...
Leven asked 17/1, 2013 at 16:21

1

Solved

I need some help to get js_of_ocaml working. There's not much information about it on the net, and the manual is very sparse (no snippets or usage examples, no comment sections). I have a Card mod...
Bathyscaphe asked 24/7, 2013 at 0:44

1

Solved

Newbie question. I'm going through the very nice Ocaml ORA book. When I went to play with the magic_copy example from the section on Marshal, I was closer to a browser than a terminal, so I tried i...
Selectman asked 9/9, 2012 at 22:2
1

© 2022 - 2024 — McMap. All rights reserved.