Re: To be or not to be - these are the options for Option.map
| Newsgroups | gmane.comp.lang.ocaml.beginners |
|---|---|
| Message-ID | <[email protected]> |
Once again: very neat! :D ---In [email protected], <agarwal1975@...> wrote : On Sat, Sep 6, 2014 at 4:14 PM, loldrup@... mailto:loldrup@... [ocaml_beginners] <[email protected] mailto:[email protected]> wrote: How am I supposed to go about figuring out what 'Uri' refers to? No great answer unfortunately. As Jeremy said, maybe Merlin is what you're looking for. I have resorted to download all jane street repositories that has the words 'core' and 'async' as part of their names and then grepping for the module names that I am looking for. Not a bad idea. I do this kind of thing quite often. Unfortunately in this case, your answer isn't there. Uri is a module provided by the ocaml-uri library [1], not Core. So another thing you have to do is understand which libraries your code depends on. In the case of opam packages, you can click on a package's documentation [2] where dependencies are listed. [1] https://github.com/mirage/ocaml-uri https://github.com/mirage/ocaml-uri [2] http://opam.ocaml.org/packages/ http://opam.ocaml.org/packages/