Module Ocsipersist

module Ocsipersist : sig..end

Persistent data on hard disk.

There are currently two implementations of this module, one using a DBM database, and the other using SQLITE. Link the one your want with your program.

Persistent references

When launching the program, if the value exists on hard disk, it is loaded, otherwise it is initialised to the default value

type 'a t

Type of persistent data

type store

Data are divided into stores. Create one store for your project, where you will save all your data.

val open_store : string -> store

Open a store (and create it if it does not exist)

val make_persistent : 
  store:store ->