I’ve written a bunch of ml files that I’d like to pull together into multiple executables that pipeline together nicely because they share types defined in one ml file. Dune firstly objects to multiple executables, then says I must add “modules” which I have done but it still doesn’t compile because one module is shared (the type definitions). So I made a library with separate “modules” sections for each of the library and executables but the error is the same.
What am I supposed to do?
6 posts - 3 participants