Quantcast
Channel: OCaml - Topics tagged dune
Viewing all articles
Browse latest Browse all 534

Module ... is used in several stanzas

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 534

Trending Articles