package prelude

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.tar.gz
sha256=2a232a0269f0df1d07a2844a3161ecf5ada6a1751366078d6b19eeb1925bc2a0
sha512=a79f8b47cea7884bbd329f3cbdee4f049bdd07baebaccaba0e5a154ad7cad0e97dd92223ba9ab0cef845e20d5c86fa835a001ef70a94c14d59f0fb8e1e39f82b

Description

Prelude is an OCaml library hiding a lot of stuff from the stdlib.

README

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

Dependencies (6)

  1. fpath
  2. fmt
  3. cmdliner
  4. bos
  5. ocaml >= "4.13"
  6. dune >= "3.0"

Dev Dependencies (1)

  1. odoc with-doc

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.