项目作者: andreas

项目描述 :
OCaml client bindings for FoundationDB
高级语言: OCaml
项目地址: git://github.com/andreas/ocaml-fdb.git
创建时间: 2019-01-14T22:10:00Z
项目社区:https://github.com/andreas/ocaml-fdb

开源协议:

下载


OCaml client bindings for FoundationDB

Client bindings for FoundationDB based on libfdb and ctypes. Essentially it’s a fairly small shim around libfdb, which adds type safety and adapts the concepts of “futures” from FDB to to a user-provided IO monad (probably Lwt or Async).

Requirements

Installing libfdb (download here) is a requirement for installing or building this library.

Install

This package is not available on OPAM yet, but in the meantime you can install it in the following manner:

  1. opam pin add fdb git://github.com/andreas/ocaml-fdb.git

Build

  1. dune build

Test

  1. dune runtest

Example

See examples/test_lwt.ml.