IndiaFOSS 2026 · Beginner workshop

Fun and Profit with OCaml

New to OCaml? Start with Part 1. You can edit and run every example in your browser; there is nothing to install.

Start the workshop →

Or jump to a part

  1. 1 OCaml Basics Values, functions, and recursion
  2. 2 Data Types Variants, pattern matching, and records
  3. 3 Modules Signatures and abstraction

Game lab

Also try

After the workshop