|
 |
498b343 |
# ocaml-stdcompat
|
|
 |
498b343 |
|
|
 |
e2d7bf7 |
[Stdcompat](https://github.com/thierry-martinez/stdcompat) is a compatibility
|
|
 |
e2d7bf7 |
layer allowing programs to use some recent additions to the OCaml standard
|
|
 |
e2d7bf7 |
library while preserving the ability to be compiled on former versions of
|
|
 |
e2d7bf7 |
OCaml.
|
|
 |
e2d7bf7 |
|
|
 |
e2d7bf7 |
The Stdcompat API is not intended to be stable, but there will be efforts to
|
|
 |
e2d7bf7 |
allow future versions of Stdcompat to be compiled on a large range of versions
|
|
 |
e2d7bf7 |
of OCaml: Stdcompat should compile (at least) on every version of OCaml from
|
|
 |
e2d7bf7 |
3.08 (inclusive).
|
|
 |
e2d7bf7 |
|
|
 |
e2d7bf7 |
The module Stdcompat provides some definitions for values and types introduced
|
|
 |
e2d7bf7 |
in recent versions of the standard library. These definitions are just
|
|
 |
e2d7bf7 |
aliases to the matching definition of the standard library if the latter is
|
|
 |
e2d7bf7 |
recent enough. Otherwise, the module Stdcompat provides an alternative
|
|
 |
e2d7bf7 |
implementation.
|