X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=learning_ocaml.mdwn;h=8e444cab45ed73b304ba64f5c2a141851f3d2142;hp=0bd1b694a8244158db69ca88e5c684af348d63de;hb=88b8a69e01f705bf5000ce75cd3f70caea1a929d;hpb=96b09f5d3d43256b6a6712d209be628427e44807 diff --git a/learning_ocaml.mdwn b/learning_ocaml.mdwn index 0bd1b694..8e444cab 100644 --- a/learning_ocaml.mdwn +++ b/learning_ocaml.mdwn @@ -1,12 +1,14 @@ * [Try OCaml in your browser](http://try.ocamlpro.com/) (slow, bare-bones) * This site's guide to [[Installing OCaml|/installing#ocaml]] -* This site's [[explanation of the differences between Scheme, OCaml, and Haskell|rosetta1]] +* This site's [[entry-level explanation of the differences between Scheme, OCaml, and Haskell|rosetta1]] +* More detailed comparisons of OCaml and Haskell [[here|/rosetta2]]; 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|/rosetta3]] + +* **[A brief introduction to OCaml](http://www.cs.jhu.edu/~scott/pl/lectures/caml-intro.html)** * [What is OCaml?](http://ocaml.org/learn/description.html) * [Code Examples](http://ocaml.org/learn/taste.html) -* [A brief introduction to OCaml](http://www.cs.jhu.edu/~scott/pl/lectures/caml-intro.html) * [Cheat Sheets](http://ocaml.org/docs/cheat_sheets.html) * [Caml Quick Reference Guide](http://caml.inria.fr/pub/old_caml_site/FAQ/qrg-eng.html) * [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 @@ -34,7 +36,10 @@ * [Introduction to Objective Caml](http://files.metaprl.org/doc/ocaml-book.pdf) (284 pp. text from 2008, based on Jason Hickey's course at CalTech) * [Think OCaml](http://greenteapress.com/thinkocaml/thinkocaml.pdf) (142 pp. pdf) - +* [Real World OCaml](https://realworldocaml.org/v1/en/html/index.html) (510 pp. text from 2013) + * 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) + * then [Chapter 6](https://realworldocaml.org/v1/en/html/variants.html) when learning types + * then [Chapter 8](https://realworldocaml.org/v1/en/html/imperative-programming-1.html) when learning about mutation (OCaml has what we call *explicit* mutation) ### Other ### @@ -64,4 +69,3 @@ * OCaml-Tutorial [Glossary](http://mirror.ocamlcore.org/ocaml-tutorial.org/glossary.html) * [Reddit's r/ocaml](https://www.reddit.com/r/ocaml) * [Stack Overflow](https://stackoverflow.com/questions/tagged/ocaml?sort=faq) questions tagged "ocaml" -* [Real World OCaml](https://realworldocaml.org/v1/en/html/index.html) (510 pp. text from 2013)