ocaml-dune Questions
2
Solved
I know of the OCaml debugging tool (first compile with ocamlc -g <file>, then run ocamldebug <output>) and also the function call tracing feature in the toplevel (both covered here). Ho...
Clayberg asked 3/12, 2020 at 20:48
1
Solved
I have an OCaml project using dune
Following advice in basic tutorials I have a dir structure like:
bin/
cli.ml
dune
lib/
dune
...
<various>.ml
The number of files in my lib dir is grow...
Taurine asked 9/5, 2021 at 21:1
2
I am new to OCaml which I installed via opam. My compiler is dune. Each time I build my project and run it, it crashes but I get no information from where it crashes in the code.
A friend of mine w...
Li asked 24/1, 2021 at 9:7
1
Solved
As per https://github.com/ocaml/ocaml/pull/1110, OCaml 4.08 and later raises a warning for unused module opens, even when they are opened with open!. This creates friction with the common practice ...
Mellissamellitz asked 20/7, 2019 at 0:39
1
Solved
I'm having difficulties running OUnit tests, mostly because I'm new to both dune and OUnit. dune complains when I run dune runtest:
File "test/dune", line 4, characters 13-14:
Error: Libr...
Armillary asked 15/11, 2018 at 10:34
1
© 2022 - 2024 — McMap. All rights reserved.