I am trying to load a yaml file from disc in my dune/ocaml project.
I have added yaml in the dune file:
(library (name mytool) (libraries core yaml))
Now, ocaml lsp recognizes the
Yaml module and I can use it and compule via dune.
But when I do:
let yaml_content = Yaml_unix.of_file_exn (Fpath.v "test.yaml")
I get form dune:
Error: Unbound module Yaml_unix
FPath is also not recognized by my lsp.
I tried adding Yaml_unix in various ways to my project, but I not success.
Whay am I missing?