So far, giving Google search strings such as
"ocaml" regex
"ocaml" hashtbl
etc. has usually gotten me the documentation I've been looking for.
One notable exception has been
"ocaml" "String.Map"
With this search, all I can find (documentation-wise, that is), is documentation for the String.map function of the String module (or is it "package"?). (If understand correctly, String.Map is a data structure, namely a map whose keys have type string, rather than a function.)
Even more forceful Google search specs like
"ocaml" intitle:"String.Map"
...failed to find the documentation I'm after.
Is there a less haphazard, and more general, way to zero-in the documentation for a particular standard item in OCaml?
(I added the "and more general" bit above because using a search engine is not practical when one wants to search for non-alphabetic items such as |>, >>, etc., or for items where some non-alphabetic feature is critical to one's question, such as when one wants to learn about the difference between 'a and '_a, or when the search is case-sensitive, as my current search.)
PS: I had no luck with the obvious places, such as
https://ocaml.org
http://caml.inria.fr/pub/docs/manual-ocaml/libref/
https://opam.ocaml.org/packages/
(This is not to say it's not "somewhere" accessible through some of those links; I'm just not seeing it.)
I did no better with some desperate guesses, like
http://caml.inria.fr/pub/docs/manual-ocaml/libref/String.Map.html (status code 404)
EDIT: Here's another search that fails to turn up any documentation page:
"ocaml" "of_alist_exn"
If, as I understand it, of_alist_exn is a function in some standard OCaml module, then I find it shocking that the search above fails. (I get 18 hits, and not a single one of them looks to me (based on the info available in a Google results list) like a documentation page.)
I've learned the basics of other computer languages from "passive" online resources: tutorials and official documentation. And not by reading this documentation linearly cover-to-cover, but by searching for what I wanted to know as I needed to. I'm finding it impossible to learn even the basics of OCaml this way. I wonder how other people have managed to learn it... I have to assume it is mostly by getting crucial-but-undocumented information via word-of-mouth (chatrooms, etc.)...