How can I reliably load shared libraries from dune unit tests?
My project layout is roughly as follows:
OCaml error during after build when accepting command line input
I’m currently trying to learn OCaml via the “Real World OCaml: Functional Programming for the Masses” textbook. I’ve reached the point of trying to build my first executable after playing inside utop, but the program keeps crashing in the following manner. The code itself is the exact same from the book –
Include Non-OCaml/Reason Files in Dune Build?
I’m new to OCaml and Dune, and I’m trying to set up a basic project with test cases. I want my test module to be able to read in text files from a subdirectory and process the input of those files. However, although I’m reading the Dune documentation, I’m having trouble finding the right stanzas to tell Dune to include a directory with no .ml files in it.
Dune runtest resulat in error in lib/dune on (inline_tests) with expect_test
I am learning OCaml, I strugled with installing it and Dune on Windows 10 but it finally ran.
I started doing a few exercises, getting the lay of the land and everything was working as intended.