I have just started to learn Ocaml. I'm using visual code as my IDE on Ubuntu, and I have OCaml extension and merlin installed.
and I have the following problem -
my workspace folder contains only 2 files: a.ml and b.ml.
In the file a.ml I have defined a module named "COOL", and in the file b.ml I wrote:
~ b.ml ~
open COOL;;
I get an error that says "Unbound module COOL merlin"
Is there any way to make it see the module on file a.ml? I tried searching for solution, I saw something with makefile and .merlin and B build but I didn't understand it, I don't have anything but the 2 files I mentioned. I would be happy if someone can tell me what exactly should be done in order for this little example to work.
a.mlwill therefore be accessible through the moduleA, meaning you can open your module withopen A.COOL. - glennsl