- Try OCaml in your browser (slow, bare-bones)
- This site's guide to Installing OCaml
- This site's entry-level explanation of the differences between Scheme, OCaml, and Haskell
- More detailed comparisons of OCaml and Haskell here; and then more details about how to do some OCaml-ish and Haskell-ish things in Scheme, and how to get Scheme-ish continuations in OCaml, here
- A brief introduction to OCaml
- What is OCaml?
- Code Examples
- Cheat Sheets
- Caml Quick Reference Guide
- A Concise Introduction to Objective Caml, 22 pp. from 2000, a few details may have changed
- OCaml Tutorial by Example, Xah Lee from 2009
- Wikipedia on ML, Caml, and OCaml
Tutorials
- The start of the OCaml Manual has a tutorial
- More Tutorials
- First 3 chapters of OCaml from the Very Beginning: 1 2 3
- Chapter 1 of OCaml for Scientists
- Chapter 1 of OCaml for Scientific Computation
- Introduction to Objective Caml (284 pp. text from 2008, based on Jason Hickey's course at CalTech)
- Think OCaml (142 pp. pdf)
- Real World OCaml (510 pp. text from 2013)
- recommend reading Chapters 1-4 when getting started (Chapter 4 is a bit more advanced)
- then Chapter 6 when learning types
- then Chapter 8 when learning about mutation (OCaml has what we call explicit mutation)
Other
- Introduction to OCaml for Haskellers, another
- Haskell Wiki on OCaml
- ML Dialects and Haskell
- Differences between Haskell and SML?
- Comparing SML to OCaml
- A C++/Java programmer's introduction to Objective Caml
Advanced Docs, listed here for reference
- User's manual, including standard library
- Latest release
- OPAM package manager: usage | repository | issues
- Style guidelines
- FAQ
- Debugging
- Tips for using the OCaml toplevel
- Making code run fast
- How to pretty-print?
- OCaml-Tutorial Glossary
- Reddit's r/ocaml
- Stack Overflow questions tagged "ocaml"