package camomile

  1. Overview
  2. Docs
A comprehensive Unicode library

Install

Dune Dependency

Authors

Maintainers

Sources

rel-0.8.7.tar.gz
sha256=48a24e20960962b950c8a6846c7cfa17ccd665440627ff9ca01d21c2429ccaa4
md5=7727d76048d99a6ba157cddf2b4bb0ef

doc/camomile/Database/index.html

Module DatabaseSource

Database.ml : Unified interfaces of stored data for Camomile

Sourceval read : string -> string -> (in_channel -> 'a) -> string -> 'a

read dir suffix reader key reads information using reader. Data are supposed to reside in the files under dir directory with suffix suffix. reader takes in_channel as an argument and read data from in_channel. The key specifies key associated the value. Any characters can be used in key, since they are properly escaped. If there are no data associated to key, raise Not_found.

Sourceval write : string -> string -> (out_channel -> 'a -> unit) -> string -> 'a -> unit

writer dir suffix writer key data write data associated the key into the directory dir with suffix. You can use any characters in key since they are propery escaped.

OCaml

Innovation. Community. Security.