You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Filipe Marques 60e3a7e79a Add monomorphic comparison operators to Float and Int{32|64} 3 months ago
src Add monomorphic comparison operators to Float and Int{32|64} 3 months ago
.gitignore first commit 3 months ago
.ocamlformat first commit 3 months ago
CHANGES.md 0.1 3 months ago
LICENSE.md first commit 3 months ago
README.md first commit 3 months ago
dune-project minor fixes 3 months ago
prelude.opam minor fixes 3 months ago

README.md

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