rizo / ocaml-by-example

Code examples for OCaml.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OCaml by example ⚡️

Code examples for OCaml.

Requirements

Make sure that you have a working opam environment, follow the official installation instructions.

Examples use the dune build system and odoc for documentation generation.

Install the required tools:

$ opam install dune odoc

Contributions

Fork this repository and open a pull request with small code examples to share it with others! Make sure that you document all the installation and execution instructions.

Examples

  • hello-world - a small executable that prints a "hello world" message.
  • basic-lib-doc - a small executable and a library with documentation.

About

Code examples for OCaml.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:OCaml 100.0%