package prelude

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.2.tar.gz
sha256=436efc0577edc0b876d07d8dc50ee7adee49a5c03b21ce194deeff7bbefafb85
sha512=06dfdb10b1d1792054c5ccbe5925d9d55f23cba06fcfc980795bbb01551f2561d9b9ea7bd8469445649547de06d88c4dab1a3dac5713d2c5fee03179b33f1734

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.