Official site with tutorials, documentation, software download and more
Real World OCaml -- an excellent resource, full html content. Note that we will not be using the Core library. However, for the basics, there are standard functions that you can utilize.
Try OCaml Online -- online compiler with tutorials. Very useful, but *ignore* imperative constructs such as arrays, references, loops, and so forth as discussed in class
Tail recursion:
UCSD notes on tail recursion
Notes on tuples and pattern matching:
UCSD notes
Cornell notes
Pattern matching details from Developing Appl with Objective Caml
Notes on Higher-Order Functions, Anonymous Functions and Currying:
Useful links on recursive variant types:
OCaml for the Skeptical's (Univ of Chicago) notes on user-defined types
OCaml.org's data types and matching
Cornell's notes on variants
Cornell's notes on variant types and polymorphism
Notes on folding:
2018 — Stephanie Schwartz — Millersville University