Say I have an OCaml foo.cma library file. Is there a command line tool for printing signatures of functions and other types defined there? The ocamlbrowser utility seems to be Windows-based (complaining about the $ DISPLAY environment variable). A use case is what I am doing:
ocamlc -c foo.cma main.ml
and get:
File "main.ml", line 13, characters 33-47: Error: Unbound value ListUtil.split
ListUtil.split should be in foo.cma, but I donβt know a console tool to check it.
source share