Awesome OCaml

Everything you'll ever need on the road to mastering OCaml.
A curated list of references to awesome OCaml tools, frameworks, libraries, and articles. Additionally, there is a collection of freely available books, papers, and presentations.
If you're looking for comprehensive community-driven content about OCaml, visit 📚OCamlverse!
For a quick introduction to the modern OCaml development workflow, consult the Up and Running with OCaml tutorial.
Your favorite package is not listed? Fork and create a Pull Request to add it!
Contents
- Community
- Algorithms and Data Structures
- Application Libraries
- Benchmarking
- Blogs
- Books
- Videos
- Code Analysis and Linters
- Compilers and Compiler Tools
- Concurrency
- Databases
- Datetime
- Developer Tools
- Exercises and Short Examples
- Formal Software Verification
- General
- Graphics
- Internationalization
- User Interface
- Language-related
- Large Source Code Examples
- Logging
- Machine Learning
- Messaging
- Metaprogramming
- Metrics
- Mobile Applications
- Networking
- Online Courses
- Package Management
- Parallelism
- Project Starter Templates
- Printers helpers
- Questions
- Regular Expressions
- Science and Technical Computing
- Security and Cryptography
- Semantic Technology
- Serialization
- System Programming
- Testing
- Utilities
- Web Development
Community
- Official OCaml Website
- OCaml Discourse Web Forum
- OCaml Discord Chat
- Official OCaml Mailing List
- OCaml Planet
- OCaml SubReddit
Algorithms and Data Structures
- Comparing a Machine Learning Algorithm Implemented in F# and OCaml
- OCamlgraph – A generic graph library for OCaml.
- ods – A large collection of data structures and algorithms for OCaml.
- combine – OCaml library for combinatorics https://www.lri.fr/~filliatr/combine/.
- Decompress - A pure OCaml implementation of Zlib.
- Ke - Fast implementation of queue (FIFO) in OCaml.
- Duff - Implementation of Rabin's fingerprint and delta compression by P. MacDonald in OCaml (same as libXdiff
- ORaft - Library of Raft consensus algorithm implemented in OCaml
- ODiff – Library of YIQ NTSC transmission image difference alghoritm implemented in OCaml and ReasonML.
Application Libraries
- Batteries Included – A community-maintained foundation library for your OCaml projects.
- Cmdliner – Declarative definition of command line interfaces for OCaml.
- Core – Jane Street Capital's full-fledged standard library overlay. A portable subset of Core is also available: Core_kernel.
- Base - Jane Street Capital's dependency-free, quick-compiling, fully-portable across any environment that can run OCaml code standard library.
- React – React is an OCaml module for functional reactive programming (FRP). It provides support for programs with time-varying values, declarative events, and signals.