package preface

  1. Overview
  2. Docs
An opinionated library for function programming (à La Haskell)

Install

Dune Dependency

Authors

Maintainers

Sources

preface-1.0.0.tbz
sha256=4bf4f89ecee0cc0064394d2f27ab2378b696c85dfa1d940fbf5c5594e3c669b9
sha512=aa2fc7e23cec7086a954c27bfe8e0c6e71cc09e140e6ddab9e041f3336c1b6ee22d661a29a7fe409f580be34a47bdf6699e339dedfe5275b8ac9724768fa56a8

doc/index.html

Preface

Preface is an opinionated library designed to facilitate the handling of recurring functional programming idioms in OCaml. Many of the design decisions were made in an attempt to calibrate, as best as possible, to the OCaml language. Trying to get the most out of the module language. The name "Preface" is a nod to "Prelude".

When learning functional programming, one is often confronted with constructs derived (or not) from category theory. Languages such as Haskell offer very complete libraries to use them, and thus, facilitate their learning. In OCaml, it often happens that these abstractions are buried in the heart of certain libraries/projects. This is why one of the objectives of Preface is to propose tools to achieve these abstractions, at least as a pedagogical tool.

The library is released under the MIT License

Full Documentation

You can browse the full library documentation by clicking on the link below.

Access to the full library API.

OCaml

Innovation. Community. Security.