package prelude

  1. Overview
  2. Docs
OCaml library hiding stuff from the stdlib

Install

Dune Dependency

Authors

Maintainers

Sources

0.3.tar.gz
sha256=9824eb7a21235fe0555609b2aa86a354988ab4a31637906321b065da90e9d871
sha512=d50747629f9a73d8dda4e5e7b912ca2ed965775d3bd614a3bed4cb1abdea488e3cf5619f1885b2a9d1d018126a3b469921a627827a453deef4d483346e22cfa5

README.md.html

prelude

prelude is an OCaml library hiding some parts of the stdlib.

Installation

prelude can be installed with opam:

opam install prelude

If you don't have opam, you can install it following the how to install opam guide.

If you can't or don't want to use opam, consult the opam file for build instructions.

Quickstart

To add it to your library or executable, you simply need to depend on prelude, you can also pass a flag to the compiler to open it automatically:

(library
 (name my_amazing_library)
 (modules foo bar)
 (flags
  (:standard -open Prelude))
 (libraries prelude))

Prelude is re-exporting some dependencies such as fmt or bos, you should not need to explicitly add them to the libraries field or your dune file.

About

OCaml

Innovation. Community. Security.