diff --git a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Column/Float/index.html b/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Column/Float/index.html
deleted file mode 100644
index a96ad05..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Column/Float/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
Float (ocsipersist-lib.Ocsipersist_lib.Polymorphic.1-Functorial.Column.Float) Up – ocsipersist-lib » Ocsipersist_lib » Polymorphic » 1-Functorial » Column » Float
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Column/Marshal/argument-1-C/index.html b/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Column/Marshal/argument-1-C/index.html
deleted file mode 100644
index 4eaf5df..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Column/Marshal/argument-1-C/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-C (ocsipersist-lib.Ocsipersist_lib.Polymorphic.1-Functorial.Column.Marshal.1-C) Up – ocsipersist-lib » Ocsipersist_lib » Polymorphic » 1-Functorial » Column » Marshal » 1-C
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Column/Marshal/index.html b/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Column/Marshal/index.html
deleted file mode 100644
index 1b19c27..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Column/Marshal/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Marshal (ocsipersist-lib.Ocsipersist_lib.Polymorphic.1-Functorial.Column.Marshal) Up – ocsipersist-lib » Ocsipersist_lib » Polymorphic » 1-Functorial » Column » Marshal
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Column/String/index.html b/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Column/String/index.html
deleted file mode 100644
index 14445cb..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Column/String/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-String (ocsipersist-lib.Ocsipersist_lib.Polymorphic.1-Functorial.Column.String) Up – ocsipersist-lib » Ocsipersist_lib » Polymorphic » 1-Functorial » Column » String
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Column/index.html b/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Column/index.html
deleted file mode 100644
index 7791598..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Column/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Column (ocsipersist-lib.Ocsipersist_lib.Polymorphic.1-Functorial.Column) Up – ocsipersist-lib » Ocsipersist_lib » Polymorphic » 1-Functorial » ColumnModule 1-Functorial.Column
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Table/Variable/index.html b/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Table/Variable/index.html
deleted file mode 100644
index bcba33b..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Table/Variable/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Variable (ocsipersist-lib.Ocsipersist_lib.Polymorphic.1-Functorial.Table.Variable) Up – ocsipersist-lib » Ocsipersist_lib » Polymorphic » 1-Functorial » Table » Variableval make_lazy : name:key -> default:(unit -> value ) -> t
val make_lazy_lwt : name:key -> default:(unit -> value Lwt .t ) -> t
val set : t -> value -> unit Lwt .t
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Table/argument-1-T/index.html b/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Table/argument-1-T/index.html
deleted file mode 100644
index 317aabb..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Table/argument-1-T/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-T (ocsipersist-lib.Ocsipersist_lib.Polymorphic.1-Functorial.Table.1-T) Up – ocsipersist-lib » Ocsipersist_lib » Polymorphic » 1-Functorial » Table » 1-T
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Table/argument-2-Key/index.html b/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Table/argument-2-Key/index.html
deleted file mode 100644
index 76742d0..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Table/argument-2-Key/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Key (ocsipersist-lib.Ocsipersist_lib.Polymorphic.1-Functorial.Table.2-Key) Up – ocsipersist-lib » Ocsipersist_lib » Polymorphic » 1-Functorial » Table » 2-Key
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Table/argument-3-Value/index.html b/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Table/argument-3-Value/index.html
deleted file mode 100644
index 5592c95..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Table/argument-3-Value/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Value (ocsipersist-lib.Ocsipersist_lib.Polymorphic.1-Functorial.Table.3-Value) Up – ocsipersist-lib » Ocsipersist_lib » Polymorphic » 1-Functorial » Table » 3-Value
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Table/index.html b/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Table/index.html
deleted file mode 100644
index 5065231..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/Table/index.html
+++ /dev/null
@@ -1,3 +0,0 @@
-
-Table (ocsipersist-lib.Ocsipersist_lib.Polymorphic.1-Functorial.Table) Up – ocsipersist-lib » Ocsipersist_lib » Polymorphic » 1-Functorial » TableModule 1-Functorial.Table
Parameters Signatureval replace_if_exists : key -> value -> unit Lwt .t
val remove : key -> unit Lwt .t
val modify_opt : key -> (value option -> value option ) -> unit Lwt .t
val length : unit -> int Lwt .t
val iter : ?count:int64 -> ?gt:key -> ?geq:key -> ?lt:key -> ?leq:key -> (key -> value -> unit Lwt .t ) -> unit Lwt .t
val fold : ?count:int64 -> ?gt:key -> ?geq:key -> ?lt:key -> ?leq:key -> (key -> value -> 'a -> 'a Lwt .t ) -> 'a -> 'a Lwt .t
val iter_block : ?count:int64 -> ?gt:key -> ?geq:key -> ?lt:key -> ?leq:key -> (key -> value -> unit) -> unit Lwt .t
val iter_batch : ?count:int64 -> ?gt:key -> ?geq:key -> ?lt:key -> ?leq:key ->
-((key * value ) list -> unit Lwt .t ) -> unit Lwt .t
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/index.html b/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/index.html
deleted file mode 100644
index fcc5606..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Functorial (ocsipersist-lib.Ocsipersist_lib.Polymorphic.1-Functorial) Up – ocsipersist-lib » Ocsipersist_lib » Polymorphic » 1-FunctorialParameter Polymorphic.1-Functorial
module type COLUMN = sig ... end
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/module-type-COLUMN/index.html b/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/module-type-COLUMN/index.html
deleted file mode 100644
index 88ff8a8..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/argument-1-Functorial/module-type-COLUMN/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-COLUMN (ocsipersist-lib.Ocsipersist_lib.Polymorphic.1-Functorial.COLUMN) Up – ocsipersist-lib » Ocsipersist_lib » Polymorphic » 1-Functorial » COLUMNModule type 1-Functorial.COLUMN
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/index.html b/ocsipersist-lib/Ocsipersist_lib/Polymorphic/index.html
deleted file mode 100644
index c41798b..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Polymorphic/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Polymorphic (ocsipersist-lib.Ocsipersist_lib.Polymorphic) Up – ocsipersist-lib » Ocsipersist_lib » Polymorphic Parameters Signatureval table_name : 'value table -> string Lwt .t
returns the name of the table
val open_table : string -> 'value table Lwt .t
Open a table (and create it if it does not exist)
val find : 'value table -> string -> 'value Lwt .t
find table key
gives the value associated to key
. Fails with Not_found
if not found.
val add : 'value table -> string -> 'value -> unit Lwt .t
add table key value
associates value
to key
. If the database already contains data associated with key
, that data is discarded and silently replaced by the new data.
val replace_if_exists : 'value table -> string -> 'value -> unit Lwt .t
replace_if_exists table key value
associates value
to key
only if key
is already bound. If the database does not contain any data associated with key
, fails with Not_found
.
val remove : 'value table -> string -> unit Lwt .t
remove table key
removes the entry in the table if it exists
val length : 'value table -> int Lwt .t
val iter_step : (string -> 'a -> unit Lwt .t ) -> 'a table -> unit Lwt .t
Important warning: this iterator may not iter on all data of the table if another thread is modifying it in the same time. Nonetheless, it should not miss more than a very few data from time to time, except if the table is very old (at least 9 223 372 036 854 775 807 insertions).
val fold_step : (string -> 'a -> 'b -> 'b Lwt .t ) -> 'a table -> 'b -> 'b Lwt .t
Important warning: this iterator may not iter on all data of the table if another thread is modifying it in the same time. Nonetheless, it should not miss more than a very few data from time to time, except if the table is very old (at least 9 223 372 036 854 775 807 insertions).
val iter_block : (string -> 'a -> unit) -> 'a table -> unit Lwt .t
MAJOR WARNING: Unlike iter_step, this iterator won't miss any entry and will run in one shot. It is therefore more efficient, BUT: it will lock the WHOLE database during its execution, thus preventing ANYBODY from accessing it (including the function f which is iterated). As a consequence: you MUST NOT use any function from ocsipersist in f, otherwise you would lock yourself and everybody else! Be VERY cautious.
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Sigs/index.html b/ocsipersist-lib/Ocsipersist_lib/Sigs/index.html
deleted file mode 100644
index ff360b6..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Sigs/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Sigs (ocsipersist-lib.Ocsipersist_lib.Sigs) Up – ocsipersist-lib » Ocsipersist_lib » SigsModule Ocsipersist_lib.Sigs
module type TABLE = sig ... end
module type STORE = sig ... end
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Column/Float/index.html b/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Column/Float/index.html
deleted file mode 100644
index dc9016d..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Column/Float/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Float (ocsipersist-lib.Ocsipersist_lib.Sigs.FUNCTORIAL.Column.Float) Up – ocsipersist-lib » Ocsipersist_lib » Sigs » FUNCTORIAL » Column » Float
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Column/Marshal/argument-1-C/index.html b/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Column/Marshal/argument-1-C/index.html
deleted file mode 100644
index d5c5026..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Column/Marshal/argument-1-C/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-C (ocsipersist-lib.Ocsipersist_lib.Sigs.FUNCTORIAL.Column.Marshal.1-C) Up – ocsipersist-lib » Ocsipersist_lib » Sigs » FUNCTORIAL » Column » Marshal » 1-C
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Column/Marshal/index.html b/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Column/Marshal/index.html
deleted file mode 100644
index 0e85853..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Column/Marshal/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Marshal (ocsipersist-lib.Ocsipersist_lib.Sigs.FUNCTORIAL.Column.Marshal) Up – ocsipersist-lib » Ocsipersist_lib » Sigs » FUNCTORIAL » Column » Marshal
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Column/String/index.html b/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Column/String/index.html
deleted file mode 100644
index ba4e987..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Column/String/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-String (ocsipersist-lib.Ocsipersist_lib.Sigs.FUNCTORIAL.Column.String) Up – ocsipersist-lib » Ocsipersist_lib » Sigs » FUNCTORIAL » Column » String
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Column/index.html b/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Column/index.html
deleted file mode 100644
index d8fa55c..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Column/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Column (ocsipersist-lib.Ocsipersist_lib.Sigs.FUNCTORIAL.Column) Up – ocsipersist-lib » Ocsipersist_lib » Sigs » FUNCTORIAL » Column
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Table/Variable/index.html b/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Table/Variable/index.html
deleted file mode 100644
index a534e90..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Table/Variable/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Variable (ocsipersist-lib.Ocsipersist_lib.Sigs.FUNCTORIAL.Table.Variable) Up – ocsipersist-lib » Ocsipersist_lib » Sigs » FUNCTORIAL » Table » Variableval make_lazy : name:key -> default:(unit -> value ) -> t
val make_lazy_lwt : name:key -> default:(unit -> value Lwt .t ) -> t
val set : t -> value -> unit Lwt .t
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Table/argument-1-T/index.html b/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Table/argument-1-T/index.html
deleted file mode 100644
index 96820ee..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Table/argument-1-T/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-T (ocsipersist-lib.Ocsipersist_lib.Sigs.FUNCTORIAL.Table.1-T) Up – ocsipersist-lib » Ocsipersist_lib » Sigs » FUNCTORIAL » Table » 1-T
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Table/argument-2-Key/index.html b/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Table/argument-2-Key/index.html
deleted file mode 100644
index 1312172..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Table/argument-2-Key/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Key (ocsipersist-lib.Ocsipersist_lib.Sigs.FUNCTORIAL.Table.2-Key) Up – ocsipersist-lib » Ocsipersist_lib » Sigs » FUNCTORIAL » Table » 2-Key
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Table/argument-3-Value/index.html b/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Table/argument-3-Value/index.html
deleted file mode 100644
index 835fc02..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Table/argument-3-Value/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Value (ocsipersist-lib.Ocsipersist_lib.Sigs.FUNCTORIAL.Table.3-Value) Up – ocsipersist-lib » Ocsipersist_lib » Sigs » FUNCTORIAL » Table » 3-Value
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Table/index.html b/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Table/index.html
deleted file mode 100644
index 1fc14d0..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/Table/index.html
+++ /dev/null
@@ -1,3 +0,0 @@
-
-Table (ocsipersist-lib.Ocsipersist_lib.Sigs.FUNCTORIAL.Table) Up – ocsipersist-lib » Ocsipersist_lib » Sigs » FUNCTORIAL » Table Parameters Signatureval replace_if_exists : key -> value -> unit Lwt .t
val remove : key -> unit Lwt .t
val modify_opt : key -> (value option -> value option ) -> unit Lwt .t
val length : unit -> int Lwt .t
val iter : ?count:int64 -> ?gt:key -> ?geq:key -> ?lt:key -> ?leq:key -> (key -> value -> unit Lwt .t ) -> unit Lwt .t
val fold : ?count:int64 -> ?gt:key -> ?geq:key -> ?lt:key -> ?leq:key -> (key -> value -> 'a -> 'a Lwt .t ) -> 'a -> 'a Lwt .t
val iter_block : ?count:int64 -> ?gt:key -> ?geq:key -> ?lt:key -> ?leq:key -> (key -> value -> unit) -> unit Lwt .t
val iter_batch : ?count:int64 -> ?gt:key -> ?geq:key -> ?lt:key -> ?leq:key ->
-((key * value ) list -> unit Lwt .t ) -> unit Lwt .t
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/index.html b/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/index.html
deleted file mode 100644
index 6610d1b..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-FUNCTORIAL (ocsipersist-lib.Ocsipersist_lib.Sigs.FUNCTORIAL) Up – ocsipersist-lib » Ocsipersist_lib » Sigs » FUNCTORIALModule type Sigs.FUNCTORIAL
module type COLUMN = sig ... end
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/module-type-COLUMN/index.html b/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/module-type-COLUMN/index.html
deleted file mode 100644
index 07e56db..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-FUNCTORIAL/module-type-COLUMN/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-COLUMN (ocsipersist-lib.Ocsipersist_lib.Sigs.FUNCTORIAL.COLUMN) Up – ocsipersist-lib » Ocsipersist_lib » Sigs » FUNCTORIAL » COLUMNModule type FUNCTORIAL.COLUMN
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-POLYMORPHIC/index.html b/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-POLYMORPHIC/index.html
deleted file mode 100644
index 02e4bcc..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-POLYMORPHIC/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-POLYMORPHIC (ocsipersist-lib.Ocsipersist_lib.Sigs.POLYMORPHIC) Up – ocsipersist-lib » Ocsipersist_lib » Sigs » POLYMORPHICModule type Sigs.POLYMORPHIC
val table_name : 'value table -> string Lwt .t
returns the name of the table
val open_table : string -> 'value table Lwt .t
Open a table (and create it if it does not exist)
val find : 'value table -> string -> 'value Lwt .t
find table key
gives the value associated to key
. Fails with Not_found
if not found.
val add : 'value table -> string -> 'value -> unit Lwt .t
add table key value
associates value
to key
. If the database already contains data associated with key
, that data is discarded and silently replaced by the new data.
val replace_if_exists : 'value table -> string -> 'value -> unit Lwt .t
replace_if_exists table key value
associates value
to key
only if key
is already bound. If the database does not contain any data associated with key
, fails with Not_found
.
val remove : 'value table -> string -> unit Lwt .t
remove table key
removes the entry in the table if it exists
val length : 'value table -> int Lwt .t
val iter_step : (string -> 'a -> unit Lwt .t ) -> 'a table -> unit Lwt .t
Important warning: this iterator may not iter on all data of the table if another thread is modifying it in the same time. Nonetheless, it should not miss more than a very few data from time to time, except if the table is very old (at least 9 223 372 036 854 775 807 insertions).
val fold_step : (string -> 'a -> 'b -> 'b Lwt .t ) -> 'a table -> 'b -> 'b Lwt .t
Important warning: this iterator may not iter on all data of the table if another thread is modifying it in the same time. Nonetheless, it should not miss more than a very few data from time to time, except if the table is very old (at least 9 223 372 036 854 775 807 insertions).
val iter_block : (string -> 'a -> unit) -> 'a table -> unit Lwt .t
MAJOR WARNING: Unlike iter_step, this iterator won't miss any entry and will run in one shot. It is therefore more efficient, BUT: it will lock the WHOLE database during its execution, thus preventing ANYBODY from accessing it (including the function f which is iterated). As a consequence: you MUST NOT use any function from ocsipersist in f, otherwise you would lock yourself and everybody else! Be VERY cautious.
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-STORE/index.html b/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-STORE/index.html
deleted file mode 100644
index 309b310..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-STORE/index.html
+++ /dev/null
@@ -1,3 +0,0 @@
-
-STORE (ocsipersist-lib.Ocsipersist_lib.Sigs.STORE) Up – ocsipersist-lib » Ocsipersist_lib » Sigs » STOREData are divided into stores. Create one store for your project, where you will save all your data.
val open_store : string -> store Lwt .t
Open a store (and create it if it does not exist)
val make_persistent : store:store -> name:string -> default:'a -> 'a t Lwt .t
make_persistent store name default
find a persistent value named name
in store store
from database, or create it with the default value default
if it does not exist.
val make_persistent_lazy : store:store -> name:string -> default:(unit -> 'a ) -> 'a t Lwt .t
Same as make_persistent but the default value is evaluated only if needed
val make_persistent_lazy_lwt : store:store -> name:string -> default:(unit -> 'a Lwt .t ) ->
-'a t Lwt .t
Lwt version of make_persistent_lazy.
val get : 'a t -> 'a Lwt .t
get pv
gives the value of pv
val set : 'a t -> 'a -> unit Lwt .t
set pv value
sets a persistent value pv
to value
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-TABLE/Variable/index.html b/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-TABLE/Variable/index.html
deleted file mode 100644
index 2b0af86..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-TABLE/Variable/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Variable (ocsipersist-lib.Ocsipersist_lib.Sigs.TABLE.Variable) Up – ocsipersist-lib » Ocsipersist_lib » Sigs » TABLE » Variableval make_lazy : name:key -> default:(unit -> value ) -> t
val make_lazy_lwt : name:key -> default:(unit -> value Lwt .t ) -> t
val set : t -> value -> unit Lwt .t
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-TABLE/index.html b/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-TABLE/index.html
deleted file mode 100644
index edd6230..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Sigs/module-type-TABLE/index.html
+++ /dev/null
@@ -1,3 +0,0 @@
-
-TABLE (ocsipersist-lib.Ocsipersist_lib.Sigs.TABLE) Up – ocsipersist-lib » Ocsipersist_lib » Sigs » TABLEval replace_if_exists : key -> value -> unit Lwt .t
val remove : key -> unit Lwt .t
val modify_opt : key -> (value option -> value option ) -> unit Lwt .t
val length : unit -> int Lwt .t
val iter : ?count:int64 -> ?gt:key -> ?geq:key -> ?lt:key -> ?leq:key -> (key -> value -> unit Lwt .t ) -> unit Lwt .t
val fold : ?count:int64 -> ?gt:key -> ?geq:key -> ?lt:key -> ?leq:key -> (key -> value -> 'a -> 'a Lwt .t ) -> 'a -> 'a Lwt .t
val iter_block : ?count:int64 -> ?gt:key -> ?geq:key -> ?lt:key -> ?leq:key -> (key -> value -> unit) -> unit Lwt .t
val iter_batch : ?count:int64 -> ?gt:key -> ?geq:key -> ?lt:key -> ?leq:key ->
-((key * value ) list -> unit Lwt .t ) -> unit Lwt .t
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Variable/argument-1-T/index.html b/ocsipersist-lib/Ocsipersist_lib/Variable/argument-1-T/index.html
deleted file mode 100644
index 991644c..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Variable/argument-1-T/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-T (ocsipersist-lib.Ocsipersist_lib.Variable.1-T) Up – ocsipersist-lib » Ocsipersist_lib » Variable » 1-Tval add : k -> v -> unit Lwt .t
\ No newline at end of file
diff --git a/ocsipersist-lib/Ocsipersist_lib/Variable/index.html b/ocsipersist-lib/Ocsipersist_lib/Variable/index.html
deleted file mode 100644
index bd956b0..0000000
--- a/ocsipersist-lib/Ocsipersist_lib/Variable/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Variable (ocsipersist-lib.Ocsipersist_lib.Variable) Up – ocsipersist-lib » Ocsipersist_lib » VariableModule Ocsipersist_lib.Variable
Parameters Signaturetype t = {
name : T.k ;
default : unit -> T.v Lwt .t ;
}
val make_lazy_lwt : name:T.k -> default:(unit -> T.v Lwt .t ) -> t
val make_lazy : name:T.k -> default:(unit -> T.v ) -> t
val make : name:T.k -> default:T.v -> t
val set : t -> T.v -> unit Lwt .t
\ No newline at end of file
diff --git a/ocsipersist/Ocsipersist/Functorial/Column/Float/index.html b/ocsipersist/Ocsipersist/Functorial/Column/Float/index.html
deleted file mode 100644
index c87dbe4..0000000
--- a/ocsipersist/Ocsipersist/Functorial/Column/Float/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Float (ocsipersist.Ocsipersist.Functorial.Column.Float) Up – ocsipersist » Ocsipersist » Functorial » Column » Float
\ No newline at end of file
diff --git a/ocsipersist/Ocsipersist/Functorial/Column/Marshal/argument-1-C/index.html b/ocsipersist/Ocsipersist/Functorial/Column/Marshal/argument-1-C/index.html
deleted file mode 100644
index de6017a..0000000
--- a/ocsipersist/Ocsipersist/Functorial/Column/Marshal/argument-1-C/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-C (ocsipersist.Ocsipersist.Functorial.Column.Marshal.1-C) Up – ocsipersist » Ocsipersist » Functorial » Column » Marshal » 1-C
\ No newline at end of file
diff --git a/ocsipersist/Ocsipersist/Functorial/Column/Marshal/index.html b/ocsipersist/Ocsipersist/Functorial/Column/Marshal/index.html
deleted file mode 100644
index e28514d..0000000
--- a/ocsipersist/Ocsipersist/Functorial/Column/Marshal/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Marshal (ocsipersist.Ocsipersist.Functorial.Column.Marshal) Up – ocsipersist » Ocsipersist » Functorial » Column » Marshal
\ No newline at end of file
diff --git a/ocsipersist/Ocsipersist/Functorial/Column/String/index.html b/ocsipersist/Ocsipersist/Functorial/Column/String/index.html
deleted file mode 100644
index 320f46b..0000000
--- a/ocsipersist/Ocsipersist/Functorial/Column/String/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-String (ocsipersist.Ocsipersist.Functorial.Column.String) Up – ocsipersist » Ocsipersist » Functorial » Column » String
\ No newline at end of file
diff --git a/ocsipersist/Ocsipersist/Functorial/Column/index.html b/ocsipersist/Ocsipersist/Functorial/Column/index.html
deleted file mode 100644
index d16747c..0000000
--- a/ocsipersist/Ocsipersist/Functorial/Column/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Column (ocsipersist.Ocsipersist.Functorial.Column) Up – ocsipersist » Ocsipersist » Functorial » Column
\ No newline at end of file
diff --git a/ocsipersist/Ocsipersist/Functorial/Table/Variable/index.html b/ocsipersist/Ocsipersist/Functorial/Table/Variable/index.html
deleted file mode 100644
index c068de1..0000000
--- a/ocsipersist/Ocsipersist/Functorial/Table/Variable/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Variable (ocsipersist.Ocsipersist.Functorial.Table.Variable) Up – ocsipersist » Ocsipersist » Functorial » Table » Variableval make_lazy : name:key -> default:(unit -> value ) -> t
val make_lazy_lwt : name:key -> default:(unit -> value Lwt .t ) -> t
val set : t -> value -> unit Lwt .t
\ No newline at end of file
diff --git a/ocsipersist/Ocsipersist/Functorial/Table/argument-1-T/index.html b/ocsipersist/Ocsipersist/Functorial/Table/argument-1-T/index.html
deleted file mode 100644
index ce928e1..0000000
--- a/ocsipersist/Ocsipersist/Functorial/Table/argument-1-T/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-T (ocsipersist.Ocsipersist.Functorial.Table.1-T) Up – ocsipersist » Ocsipersist » Functorial » Table » 1-T
\ No newline at end of file
diff --git a/ocsipersist/Ocsipersist/Functorial/Table/argument-2-Key/index.html b/ocsipersist/Ocsipersist/Functorial/Table/argument-2-Key/index.html
deleted file mode 100644
index 6a79899..0000000
--- a/ocsipersist/Ocsipersist/Functorial/Table/argument-2-Key/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Key (ocsipersist.Ocsipersist.Functorial.Table.2-Key) Up – ocsipersist » Ocsipersist » Functorial » Table » 2-Key
\ No newline at end of file
diff --git a/ocsipersist/Ocsipersist/Functorial/Table/argument-3-Value/index.html b/ocsipersist/Ocsipersist/Functorial/Table/argument-3-Value/index.html
deleted file mode 100644
index 4cee42e..0000000
--- a/ocsipersist/Ocsipersist/Functorial/Table/argument-3-Value/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Value (ocsipersist.Ocsipersist.Functorial.Table.3-Value) Up – ocsipersist » Ocsipersist » Functorial » Table » 3-Value
\ No newline at end of file
diff --git a/ocsipersist/Ocsipersist/Functorial/Table/index.html b/ocsipersist/Ocsipersist/Functorial/Table/index.html
deleted file mode 100644
index 07fdf15..0000000
--- a/ocsipersist/Ocsipersist/Functorial/Table/index.html
+++ /dev/null
@@ -1,3 +0,0 @@
-
-Table (ocsipersist.Ocsipersist.Functorial.Table) Up – ocsipersist » Ocsipersist » Functorial » Table Parameters Signatureval replace_if_exists : key -> value -> unit Lwt .t
val remove : key -> unit Lwt .t
val modify_opt : key -> (value option -> value option ) -> unit Lwt .t
val length : unit -> int Lwt .t
val iter : ?count:int64 -> ?gt:key -> ?geq:key -> ?lt:key -> ?leq:key -> (key -> value -> unit Lwt .t ) -> unit Lwt .t
val fold : ?count:int64 -> ?gt:key -> ?geq:key -> ?lt:key -> ?leq:key -> (key -> value -> 'a -> 'a Lwt .t ) -> 'a -> 'a Lwt .t
val iter_block : ?count:int64 -> ?gt:key -> ?geq:key -> ?lt:key -> ?leq:key -> (key -> value -> unit) -> unit Lwt .t
val iter_batch : ?count:int64 -> ?gt:key -> ?geq:key -> ?lt:key -> ?leq:key ->
-((key * value ) list -> unit Lwt .t ) -> unit Lwt .t
\ No newline at end of file
diff --git a/ocsipersist/Ocsipersist/Functorial/index.html b/ocsipersist/Ocsipersist/Functorial/index.html
deleted file mode 100644
index 03c7230..0000000
--- a/ocsipersist/Ocsipersist/Functorial/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Functorial (ocsipersist.Ocsipersist.Functorial) Up – ocsipersist » Ocsipersist » Functorialmodule type COLUMN = sig ... end
\ No newline at end of file
diff --git a/ocsipersist/Ocsipersist/Functorial/module-type-COLUMN/index.html b/ocsipersist/Ocsipersist/Functorial/module-type-COLUMN/index.html
deleted file mode 100644
index a91c13f..0000000
--- a/ocsipersist/Ocsipersist/Functorial/module-type-COLUMN/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-COLUMN (ocsipersist.Ocsipersist.Functorial.COLUMN) Up – ocsipersist » Ocsipersist » Functorial » COLUMNModule type Functorial.COLUMN
\ No newline at end of file
diff --git a/ocsipersist/Ocsipersist/Polymorphic/index.html b/ocsipersist/Ocsipersist/Polymorphic/index.html
deleted file mode 100644
index a977f08..0000000
--- a/ocsipersist/Ocsipersist/Polymorphic/index.html
+++ /dev/null
@@ -1,2 +0,0 @@
-
-Polymorphic (ocsipersist.Ocsipersist.Polymorphic) Up – ocsipersist » Ocsipersist » PolymorphicModule Ocsipersist.Polymorphic
Polymorphic frontent. Relies on Marshal
for (de)serialisation, which means that data will be stored in the backend in a fashion that is not necessarily easily readable by non-OCaml-based life forms. If this is an issue for you, you can rely on the functorial frontend instead.
val table_name : 'value table -> string Lwt .t
returns the name of the table
val open_table : string -> 'value table Lwt .t
Open a table (and create it if it does not exist)
val find : 'value table -> string -> 'value Lwt .t
find table key
gives the value associated to key
. Fails with Not_found
if not found.
val add : 'value table -> string -> 'value -> unit Lwt .t
add table key value
associates value
to key
. If the database already contains data associated with key
, that data is discarded and silently replaced by the new data.
val replace_if_exists : 'value table -> string -> 'value -> unit Lwt .t
replace_if_exists table key value
associates value
to key
only if key
is already bound. If the database does not contain any data associated with key
, fails with Not_found
.
val remove : 'value table -> string -> unit Lwt .t
remove table key
removes the entry in the table if it exists
val length : 'value table -> int Lwt .t
val iter_step : (string -> 'a -> unit Lwt .t ) -> 'a table -> unit Lwt .t
Important warning: this iterator may not iter on all data of the table if another thread is modifying it in the same time. Nonetheless, it should not miss more than a very few data from time to time, except if the table is very old (at least 9 223 372 036 854 775 807 insertions).
val fold_step : (string -> 'a -> 'b -> 'b Lwt .t ) -> 'a table -> 'b -> 'b Lwt .t
Important warning: this iterator may not iter on all data of the table if another thread is modifying it in the same time. Nonetheless, it should not miss more than a very few data from time to time, except if the table is very old (at least 9 223 372 036 854 775 807 insertions).
val iter_block : (string -> 'a -> unit) -> 'a table -> unit Lwt .t
MAJOR WARNING: Unlike iter_step, this iterator won't miss any entry and will run in one shot. It is therefore more efficient, BUT: it will lock the WHOLE database during its execution, thus preventing ANYBODY from accessing it (including the function f which is iterated). As a consequence: you MUST NOT use any function from ocsipersist in f, otherwise you would lock yourself and everybody else! Be VERY cautious.
\ No newline at end of file
diff --git a/ocsipersist/Ocsipersist/Store/index.html b/ocsipersist/Ocsipersist/Store/index.html
deleted file mode 100644
index 91c7137..0000000
--- a/ocsipersist/Ocsipersist/Store/index.html
+++ /dev/null
@@ -1,3 +0,0 @@
-
-Store (ocsipersist.Ocsipersist.Store) Up – ocsipersist » Ocsipersist » StoreModule Ocsipersist.Store
The variable store allows for the persistent storage of individual variables. Relies on Stdlib
.Marshal for (de)serialisation, which entails the same limitations as for the Polymorphic
frontend. If this is an issue you can rely on Functorial
frontend instead (see TABLE.Variable
).
Data are divided into stores. Create one store for your project, where you will save all your data.
val open_store : string -> store Lwt .t
Open a store (and create it if it does not exist)
val make_persistent : store:store -> name:string -> default:'a -> 'a t Lwt .t
make_persistent store name default
find a persistent value named name
in store store
from database, or create it with the default value default
if it does not exist.
val make_persistent_lazy : store:store -> name:string -> default:(unit -> 'a ) -> 'a t Lwt .t
Same as make_persistent but the default value is evaluated only if needed
val make_persistent_lazy_lwt : store:store -> name:string -> default:(unit -> 'a Lwt .t ) ->
-'a t Lwt .t
Lwt version of make_persistent_lazy.
val get : 'a t -> 'a Lwt .t
get pv
gives the value of pv
val set : 'a t -> 'a -> unit Lwt .t
set pv value
sets a persistent value pv
to value
\ No newline at end of file