5e9363b5fa1442e30d788e42ea4f42280aec7a49
[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
4 <!-- -->
5 *   [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) -->
6 *   [Code Examples](http://ocaml.org/learn/taste.html) <!-- includes [A Hundred Lines of OCaml](http://caml.inria.fr/about/taste.en.html) -->
7 *   [A brief introduction to OCaml](http://www.cs.jhu.edu/~scott/pl/lectures/caml-intro.html)
8 *   [Cheat Sheets](http://ocaml.org/docs/cheat_sheets.html)
9 *   Wikipedia on
10 [ML](http://en.wikipedia.org/wiki/ML_%28programming_language%29),
11 [Caml](http://en.wikipedia.org/wiki/Caml), and
12 [OCaml](http://en.wikipedia.org/wiki/OCaml)
13
14 <!-- -->
15 Overviews:
16 [A Concise Introduction to Objective Caml](http://www.csc.villanova.edu/~dmatusze/resources/ocaml/ocaml.html), David Matuszek from 2000 "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"; OCaml Wiki's Tutorial page links to this
17 [OCaml Tutorial by Example](http://xahlee.org/ocaml/ocaml_basics.html), Xah Lee from 2009
18
19 BROKEN overview link: <http://pauillac.inria.fr/caml/FAQ/stephan.html>, aimed at readers who already have some programming experience.
20
21 BROKEN briefer: <http://pauillac.inria.fr/caml/FAQ/exemples-eng.html>
22
23 BROKEN "Quick Reference Guide" <http://pauillac.inria.fr/caml/FAQ/qrg-eng.html> <http://mirror.ocamlcore.org/caml.inria.fr/pub/old_caml_site/FAQ/qrg-eng.html>
24
25
26 <!-- -->
27 *   [OCaml Wiki](http://ocaml.org/)
28 *   [INRIA](http://caml.inria.fr/)
29
30
31 ## Tutorials ##
32 *   The [start of the OCaml Manual](http://caml.inria.fr/pub/docs/manual-ocaml/coreexamples.html) has a tutorial
33 *   [More Tutorials](http://ocaml.org/learn/tutorials/) <!-- seems to include <http://mirror.ocamlcore.org/ocaml-tutorial.org/>, last updated 2009 -->
34 *   First 3 chapters of *OCaml from the Very Beginning*:
35 [1](http://ocaml-book.com/s/11-17Chapter1.pdf)
36 [2](http://ocaml-book.com/s/19-25Chapter2.pdf)
37 [3](http://ocaml-book.com/s/29-33Chapter3.pdf)
38 *   Chapter [1](http://www.ffconsultancy.com/products/ocaml_for_scientists/chapter1.html) of *OCaml for Scientists*
39 *   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 -->
40 *   [Introduction to Objective Caml](http://files.metaprl.org/doc/ocaml-book.pdf)
41 (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 -->
42 *   [Think OCaml](http://greenteapress.com/thinkocaml/thinkocaml.pdf) (142 pp. pdf)
43
44
45 ### Other ###
46
47 *   [Comparing SML to OCaml](http://www.mpi-sws.org/~rossberg/sml-vs-ocaml.html)
48 *   [Introduction to OCaml for Haskellers](http://foswiki.cs.uu.nl/foswiki/pub/Stc/BeyondFunctionalProgrammingInHaskell:AnIntroductionToOCaml/ocaml.pdf)
49
50
51 ## Advanced Docs, listed here for reference ##
52 *   [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)
53 *   [Latest release](http://ocaml.org/releases/latest/) <!-- also http://caml.inria.fr/ocaml/release.en.html -->
54 *   OPAM package manager:
55 [usage](https://opam.ocaml.org/doc/Usage.html) |
56 [repository](https://opam.ocaml.org/packages/) |
57 [issues](https://github.com/OCaml/opam-repository/issues)
58 * [Style guidelines](http://caml.inria.fr/resources/doc/guides/guidelines.en.html)
59
60 ## FAQs ##
61
62 *   [Beginner FAQ](http://mirror.ocamlcore.org/caml.inria.fr/pub/old_caml_site/FAQ/FAQ_DEBUTANT-eng.html), last modified 2004
63 *   [Expert FAQ](http://mirror.ocamlcore.org/caml.inria.fr/pub/old_caml_site/FAQ/FAQ_EXPERT-eng.html), last modified 2004
64 *   [INRIA's FAQ](http://caml.inria.fr/resources/doc/faq/)
65 *   [OCaml.org FAQ](http://ocaml.org/learn/faq.html)
66 *   ---
67 *   [Glossary](http://mirror.ocamlcore.org/ocaml-tutorial.org/glossary.html)
68
69 <!-- -->
70 * [Tips for using the OCaml toplevel](http://mirror.ocamlcore.org/wiki.cocan.org/tips_for_using_the_ocaml_toplevel.html)
71 * [Debugging](http://caml.inria.fr/resources/doc/guides/debug.en.html)
72 * [Making code run fast](http://mirror.ocamlcore.org/caml.inria.fr/pub/old_caml_site/ocaml/speed.html)
73
74 ---
75
76 *   [Reddit's r/ocaml](https://www.reddit.com/r/ocaml)
77 *   [Stack Overflow](https://stackoverflow.com/questions/tagged/ocaml?sort=faq) questions tagged "ocaml"
78 *   [Real World OCaml](https://realworldocaml.org/v1/en/html/index.html) (510 pp. text from 2013)
79 *   [How to intercept stdout?](http://mirror.ocamlcore.org/ocaml-tutorial.org/newbie_faq.html)
80 *   [What's the difference between Invalid_argument and Failure?](http://mirror.ocamlcore.org/wiki.cocan.org/cocan%27s_ocaml_faq.html)