package monomorphic

  1. Overview
  2. Docs
On This Page
  1. Usage
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

ocaml-monomorphic is a small library used to shadow polymorphic operators (and functions) contained in Stdlib. It can be useful to avoid some mistakes and runtime errors due to OCaml's polymorphic comparison functions.

Requirements

This library only requires:

  • OCaml >= 4.08
  • Dune >= 2.7

Usage

:books: API documentation :books:

Using dune, a simple usage would be:

(library
  (public_name your-lib)
  (libraries monomorphic)
  (flags :standard -open Monomorphic.Int))

Build Status

OCaml

Innovation. Community. Security.