package crdt-ml

  1. Overview
  2. Docs
CRDTs - Conflict-Free Replicated Data Types for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

v0.10.0.tar.gz
sha256=c9be2ec006cd4f65e6a9bddbcedf024f876134afc1ddf4fb689dd0167de25b73
md5=b8337dcb24a3220a3c35bd5bae5c8f12

doc/src/crdt/crdt.ml.html

Source file crdt.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
(** A collection of mutable and immutable CRDTs.

  This module is meant to be opened to use both mutable and immutable
  structures in the same codebase. To use, for example, and [ORSet], you can
  choose to use either [Mutable.ORSet] or [Immutable.ORSet]. *)

(** A collection of mutable CRDTs *)
module Mutable = struct
  module IntVector = M_IntVector
  module GCounter = M_GCounter
  module PNCounter = M_PNCounter
  module GSet = M_GSet
  module ORSet = M_ORSet
  module USet = M_USet
end

(** A collection of immutable CRDTs *)
module Immutable = struct
  module IntVector = I_IntVector
  module GCounter = I_GCounter
  module PNCounter = I_PNCounter
  module GSet = I_GSet
  module ORSet = I_ORSet
  module USet = I_USet
end
OCaml

Innovation. Community. Security.