package prelude

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.tar.gz
sha256=858fd4291ea8767c6d238d7c5976107589053157dd4a6d53fa49a0451d7db7ab
sha512=beeacb29c18794854bfdf4d9ca53b24a35e64dbcc07e44fb56087cb14bbb4f8ad21c26eea202b04dd075c4fd84068ae997bd081a51989a6906c47fd58355da5f

Description

Prelude is an OCaml library hiding a lot of stuff from the stdlib to enforce good programming practices.

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 (3)

  1. odoc with-doc
  2. odoc with-dev-setup
  3. ocamlformat with-dev-setup

Used by (1)

  1. scfg >= "0.4"

Conflicts

None

OCaml

Innovation. Community. Security.