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:

Usage

Using dune, a simple usage would be:

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

Build Status