OCaml Cookbook Recipes
The OCaml Cookbook is a place where OCaml developers share how to solve common tasks using packages from the ecosystem.
A task is something that needs to be done inside a project. A recipe is a code sample and explanations on how to perform a task using a combination of open source libraries. Some tasks can be performed using different combination of libraries, each is a different recipe. Tasks don't describe how to use the standard library or language features.
OCaml developers are warmly invited to contribute categories, tasks, and recipes. See the Cookbook section of the CONTRIBUTING.md file in our GitHub repo.
The OCaml guides are recommend reading, for instance recipes handle errors as described in the Error Handling guide.
Command Line
Compilation & Linking
Compression
Concurrency & Parallelism
Parallelism & Multi-Threading
Single-Threaded Concurrency
Cryptography
Data Structures & Algorithms
Hash Tables
Sorting
Database
PostgreSQL
SQLite
Data Formats
YAML
JSON
CSV
Date and Time
Debugging
Encoding
File System
Random Values
Mathematics
Geographical Calculations
Vector & Matrix Operations
Operating System
Graphical User Interfaces
There's nothing in this category yet.