OCaml interface to CouchDB using atdgen and Cohttp_lwt_unix