Training/OCaml

OCaml Beginner

Solid foundations in functional programming with OCaml

3 days
Duration
On-site or remote
Delivery
50%
Hands-on
Overview

About this course

Description

A 3-day introductory course providing solid foundational knowledge in OCaml programming. The training emphasizes language features enabling rapid development of robust software through OCaml's powerful type system. Designed for developers with existing knowledge of imperative languages, covering both the language and development tools.

Who is this for?

You want to adopt OCaml for new projects or upskill your team on functional programming to improve code reliability and developer productivity.

Software developersEngineers transitioning to functional programming
Outcomes

What you will learn

01

Compile and test programs locally

02

Write idiomatic OCaml code

03

Select appropriate data structures for specific use cases

04

Utilize the OCaml ecosystem and community contributions

Syllabus

Program outline

01

Introduction to OCaml

  • Language characteristics, advantages, and performance
  • History, paradigms, and ecosystem overview
02

Environment & Tooling

  • Opam package manager setup
  • REPL interpreter, compilers (bytecode, native, JavaScript)
  • Editor setup and development workflow
03

Language Fundamentals

  • Basic program structure, definitions, and control structures
  • Predefined data types and primitives
  • Loops, first-class functions, pattern matching, exceptions
04

Data Types & Standard Library

  • Custom types: aliases, records, algebraic types, recursion, polymorphism
  • Standard library components
  • Type inference and unification algorithms
Practicalities

Before you enroll

Prerequisites

  • Strong algorithms foundation
  • Experience with at least one programming language (C, C++, Python, Java, etc.)

Format

  • On-site or remote
  • 3–10 participants
  • 50% hands-on exercises
  • Schedule: 9:30 - 17:30

Funding

  • Qualiopi certified
  • OPCO funding eligible
  • Sessions on demand within 2 months
  • Accessibility accommodations available
Instructors

Your trainers

Pierre Chambart

OCaml compiler core team member specializing in optimized code generation.

Vincent Laviron

Flambda compiler specialist and OCaml core team member.

Enroll

Interested in this training?