I’m pleased to announce the initial release of craigfe.io/operator-lookup/, a search tool for OCaml operators and syntax elements:
For each operator, the tool provides a short explanation of its behaviour, examples of usage and warnings of common misuses and misunderstandings:
The intent of writing this tool was to give OCaml beginners a quick way to find the standard / conventional operators in the language and to disambiguate “operator-like” syntax that can be hard to search for otherwise. It currently supports:
- all standard library operators,
- conventional infix operators (
- binding operators (
- syntax that is often confused for an operator (
Please let me know if you have any suggestions for improvements. I hope you find it useful!