| Homepage | ocaml.org |
| Documentation | ocaml.org/docs |
| Repository | github.com/ocaml/ocaml |
| Wikipedia | [ Deutsch ] [ English ] |
| Wikibooks | [ English ] |
| First appeared | 1996 (29 years) |
| Designed by | Xavier Leroy, Jérôme Vouillon, Damien Doligez, Didier Rémy, Ascánder Suárez |
| Latest release | 5.1.1 (Dec 2023) |
| Developer | Inria |
| Language family | ML |
| License | LGPLv2.1 |
- Jane Street - Open Source
- Dune, Base, Core, etc.
resources
- OCaml Programming: Correct + Efficient + Beautiful
- the textbook for CS 3110 Data Structures and Functional Programming at Cornell University
- OCaml From the Ground Up - ocamlbook.org
- Real World OCaml - Functional programming for the masses - realworldocaml.org
- by Anil Madhavapeddy and Anil Madhavapeddy
- GitHub: ocaml-community/awesome-ocaml
other organizations
- Jane Street
- YouTube: @janestreet
- YT video: Why OCaml (2016-03-31)
- YouTube: @janestreet
- OCaml Pro
topics
static linking
- OCaml Discuss: Compiling 100% static executables (Nov 2021)
- OCaml Pro: Generating static and portable executables with OCaml by Louis Gesbert (2021-09-02)
- SysTutorials: How to Statically Link OCaml Programs by Eric Ma (2019-11-21)
separate .mli files
- What is the reason of separation of module implementation and signatures in OCaml? (2018-03-17)
- OCaml Discuss: Future of
.mlionly module setups? reply by Daniel Bünzli (2017-10-26) - Jane Street Blog: Simple top-down development in OCaml by Carl Eastlund (2014-07-18)
- StackOverflow: Redundancy in OCaml type declaration (ml/mli) (2010-07-13)
alternate syntax
ReasonML
Reason lets you write simple, fast and quality type safe code while leveraging both the JavaScript & OCaml ecosystems.
- homepage: ReasonML.github.io
Comparison values
| Score | 669 |
Features
| Algebraic data type | yes (100) |
| Compiled language | yes (100) |
| Context management / Defer | |
| Explicit errors | exceptions | Result (40) |
| Higher-order function | yes (100) |
| Immutable object | yes (100) |
| Pattern matching | yes (100) |
| Statically typed | yes (100) |
References
| How To Become A Hacker | -- |
| languages of choice | -- |
Rankings
Personal
| Category | |
| Usage | some |
links
blog posts
- GitHub repo - My Thoughts on OCaml vs Haskell/Rust in 2023 (2023-04-26) by Sidharth Kshatriya
- My thoughts on OCaml (2023-04-24) by Ömer Sinan Ağacan
- GitHub repo - General thoughts on Ocaml & Haskell and OCaml's (supposedly) pathetic state of tooling (2021-08-11) by Sidharth Kshatriya
- What I wish I knew when learning OCaml (2018-02-11) by Daniil Baturin
videos
- YouTube - OCaml for Fun & Profit: An Experience Report • Tim McGilchrist • YOW! 2023 (2024-02-18) by GOTO Conferences
- YouTube - Elegance in OCaml with TJ DeVries | 001 (2023-06-30) by Backend Banter