Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Independent

OCaml By Examples

via Independent

Overview

Functional programming is an old idea with a distinguished history. Lisp, a functional language inspired by Alonzo Church's lambda calculus, was one of the first programming languages developed at the dawn of the computing age. Statically typed functional languages such as OCaml and Haskell are newer, but their roots go deep—ML, from which they descend, dates back to work by Robin Milner in the early '70s relating to the pioneering LCF (Logic for Computable Functions) theorem prover.

Syllabus

Language Basics
  • opam
  • hello world
  • utop
  • values
  • functions
  • imperative
  • match
  • tuples
  • variants
  • lists
  • sets
  • arrays
  • records
  • mutability
  • recursion
  • hash tables
  • modules
  • errors
  • bits
  • commands
  • files
Project Management
  • dune
  • libraries
  • tests
  • property tests
  • test coverage
  • publishing
  • pins
Advanced Ocaml
  • functors
  • macros
  • monads
Libraries
  • json
  • bignum
  • benchmarks
  • deriving
  • serialization
  • C
  • javascript
  • rust

Taught by

Yaron Minsky, and Jane Street

Reviews

Start your review of OCaml By Examples

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.