Commit Graph

2 Commits (eb342da8a9cdbce0760b91c9b9d5e682ed0d4496)

Author SHA1 Message Date
Jeremy Yallop 0aa72dd034 Add some injectivity annotations to the standard library. 2020-07-18 15:50:42 +01:00
Gabriel Scherer 04d9c425f3 stdlib: provide a sequential interface of the Atomic module from OCaml Multicore
This module provides a purely sequential implementation of the
concurrent atomic references provided by the Multicore OCaml
standard library:

https://github.com/ocaml-multicore/ocaml-multicore/blob/parallel_minor_gc/stdlib/atomic.mli

This sequential implementation is provided in the interest of
compatibility: when people will start writing code to run on
Multicore, it would be nice if their use of Atomic was
backward-compatible with older versions of OCaml without having to
import additional compatibility layers. *)
2020-05-16 17:51:54 +02:00