David Wong
David Wong
I'm trying the following, but sequenceDiagram is not found: ```js var options = {theme: 'hand'}; document.querySelectorAll(".sequence").forEach((x) => { x.sequenceDiagram(options) }) ```
In the following example, some arguments are on the same line (` ~sponge:sponge_before_evaluations ~xi ~advice ~opening`) while some the others are listed as a single argument per line. I think...
Hey! In Xcode, you can right click on a function > "find call hierarchy" it displays a tree showing up all the function calling it, then all the function calling...
I'm trying to use [randoml](https://github.com/mimoo/randoml/blob/main/README.md) in my project, but I get an error when trying to install it with `esy i`: ``` error: build failed with exit code: 1 build...
Hey! Getting this error just importing the package from a dune project: ``` ld: warning: directory not found for option '-L/opt/local/lib' ``` I'm on the last MacOS version
To have nice errors, I converted my panics into functions that return `Result`. But it seems like these errors have to be string literals: ```rust ocaml::Error::Message("issue in ...") ``` so...
Hey! I'm trying to publish an [opam package](https://github.com/mimoo/randoml/blob/main/lib/randoml.ml) that wraps a rust library. So far I've tried the following: * run `cargo vendor` * copy output of `cargo vendor` in...
I'm trying to use the `custom!` macro on a generic struct with bounds: ```rust ocaml::custom!(CamlRandomOracles where F: Field { finalize: CamlRandomOracles::caml_pointer_finalize }); ``` but it seems like `custom!` is unhappy....
Hey! I've been wondering about this example in the README: ``` #[ocaml::func] pub fn build_tuple(i: ocaml::Int) -> (ocaml::Int, ocaml::Int, ocaml::Int) { (i + 1, i + 2, i + 3)...
Sorry to bump a thread, but I tried using this today and it was quite slow compared to a simple `apt install ocaml` (which takes ~40s on average). Is this...