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.
This library only requires:
- OCaml >= 4.08
- Dune >= 2.7
Using dune, a simple usage would be:
(library
(public_name your-lib)
(libraries monomorphic)
(flags :standard -open Monomorphic.Int))