update for rename of topics/closures.mdwn to topics/week7__95__environments__95__and_...
[lambda.git] / learning_ocaml.mdwn
1 *   [Try OCaml in your browser](http://try.ocamlpro.com/) (slow, bare-bones)
2 *   This site's guide to [[Installing OCaml|/installing#ocaml]]
3 *   This site's [[explanation of the differences between Scheme, OCaml, and Haskell|rosetta1]]
4
5
6 <!-- -->
7 *   **[A brief introduction to OCaml](http://www.cs.jhu.edu/~scott/pl/lectures/caml-intro.html)**
8 *   [What is OCaml?](http://ocaml.org/learn/description.html) <!-- includes [About OCaml](http://caml.inria.fr/about/index.en.html) and [An Overview of the Caml Language and Tools](http://caml.inria.fr/about/overview.en.html) -->
9 *   [Code Examples](http://ocaml.org/learn/taste.html) <!-- includes [A Hundred Lines of OCaml](http://caml.inria.fr/about/taste.en.html) -->
10 *   [Cheat Sheets](http://ocaml.org/docs/cheat_sheets.html)
11 *   [Caml Quick Reference Guide](http://caml.inria.fr/pub/old_caml_site/FAQ/qrg-eng.html)
12 *   [A Concise Introduction to Objective Caml](http://www.csc.villanova.edu/~dmatusze/resources/ocaml/ocaml.html), 22 pp. from 2000, a few details may have changed <!-- by David Matuszek, OCaml Wiki's Tutorial page links to this: "gives a concise, yet broad, overview of the language and the standard library; it is rather old but most of what it says remains valid" -->
13 *   [OCaml Tutorial by Example](http://xahlee.org/ocaml/ocaml_basics.html), Xah Lee from 2009
14 *   Wikipedia on
15 [ML](http://en.wikipedia.org/wiki/ML_%28programming_language%29),
16 [Caml](http://en.wikipedia.org/wiki/Caml), and
17 [OCaml](http://en.wikipedia.org/wiki/OCaml)
18
19
20 <!-- -->
21 *   [OCaml Wiki](http://ocaml.org/)
22 *   [INRIA](http://caml.inria.fr/)
23
24
25 ## Tutorials ##
26 *   The [start of the OCaml Manual](http://caml.inria.fr/pub/docs/manual-ocaml/coreexamples.html) has a tutorial
27 *   [More Tutorials](http://ocaml.org/learn/tutorials/) <!-- seems to include <http://mirror.ocamlcore.org/ocaml-tutorial.org/>, last updated 2009 -->
28 *   First 3 chapters of *OCaml from the Very Beginning*:
29 [1](http://ocaml-book.com/s/11-17Chapter1.pdf)
30 [2](http://ocaml-book.com/s/19-25Chapter2.pdf)
31 [3](http://ocaml-book.com/s/29-33Chapter3.pdf)
32 *   Chapter [1](http://www.ffconsultancy.com/products/ocaml_for_scientists/chapter1.html) of *OCaml for Scientists*
33 *   Chapter [1](http://www.southampton.ac.uk/~fangohr/software/ocamltutorial/lecture1.html) of *OCaml for Scientific Computation* <!-- OCaml Wiki's Tutorial page links to whole text -->
34 *   [Introduction to Objective Caml](http://files.metaprl.org/doc/ocaml-book.pdf)
35 (284 pp. text from 2008, based on Jason Hickey's course at CalTech) <!-- also at http://www.cs.caltech.edu/courses/cs134/cs134b/book.pdf -->
36 *   [Think OCaml](http://greenteapress.com/thinkocaml/thinkocaml.pdf) (142 pp. pdf)
37 *   [Real World OCaml](https://realworldocaml.org/v1/en/html/index.html) (510 pp. text from 2013)
38     *   recommend reading [Chapters 1-4](https://realworldocaml.org/v1/en/html/a-guided-tour.html) when getting started (Chapter 4 is a bit more advanced)
39     *   then [Chapter 6](https://realworldocaml.org/v1/en/html/variants.html) when learning types
40     *   then [Chapter 8](https://realworldocaml.org/v1/en/html/imperative-programming-1.html) when learning about mutation (OCaml has what we call *explicit* mutation)
41
42 ### Other ###
43
44 *   [Introduction to OCaml for Haskellers](http://foswiki.cs.uu.nl/foswiki/pub/Stc/BeyondFunctionalProgrammingInHaskell:AnIntroductionToOCaml/ocaml.pdf), [another](http://blog.ezyang.com/2010/10/ocaml-for-haskellers/)
45 *   Haskell Wiki on [OCaml](https://wiki.haskell.org/OCaml)
46 *   [ML Dialects and Haskell](http://hyperpolyglot.org/ml)
47 *   [Differences between Haskell and SML?](http://www.quora.com/What-are-the-key-differences-between-Haskell-and-Standard-ML?browse)
48 *   [Comparing SML to OCaml](http://www.mpi-sws.org/~rossberg/sml-vs-ocaml.html)
49 *   [A C++/Java programmer's introduction to Objective Caml](http://caml.inria.fr/pub/old_caml_site/FAQ/stephan.html)
50
51
52 ## Advanced Docs, listed here for reference ##
53 *   [User's manual](http://caml.inria.fr/pub/docs/manual-ocaml/index.html), including [standard library](http://caml.inria.fr/pub/docs/manual-ocaml/libref/index.html)
54 *   [Latest release](http://ocaml.org/releases/latest/) <!-- also http://caml.inria.fr/ocaml/release.en.html -->
55 *   OPAM package manager:
56 [usage](https://opam.ocaml.org/doc/Usage.html) |
57 [repository](https://opam.ocaml.org/packages/) |
58 [issues](https://github.com/OCaml/opam-repository/issues)
59 *   [Style guidelines](http://caml.inria.fr/resources/doc/guides/guidelines.en.html)
60 *   [FAQ](http://ocaml.org/learn/faq.html)
61
62 <!-- -->
63 *   [Debugging](http://caml.inria.fr/resources/doc/guides/debug.en.html)
64 *   [Tips for using the OCaml toplevel](http://mirror.ocamlcore.org/wiki.cocan.org/tips_for_using_the_ocaml_toplevel.html)
65 *   [Making code run fast](http://mirror.ocamlcore.org/caml.inria.fr/pub/old_caml_site/ocaml/speed.html)
66 *   [How to pretty-print?](http://caml.inria.fr/pub/old_caml_site/FAQ/format-eng.html)
67 *   OCaml-Tutorial [Glossary](http://mirror.ocamlcore.org/ocaml-tutorial.org/glossary.html)
68 *   [Reddit's r/ocaml](https://www.reddit.com/r/ocaml)
69 *   [Stack Overflow](https://stackoverflow.com/questions/tagged/ocaml?sort=faq) questions tagged "ocaml"