Install libpgocaml-ocaml-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libpgocaml-ocaml-dev
Description:
OCaml type-safe bindings for PostgreSQL (development)
PG'OCaml provides an interface to PostgreSQL databases for OCaml applications. It uses Camlp4 to extend the OCaml syntax, enabling one to directly embed SQL statements inside the OCaml code. Moreover, it uses the describe feature of PostgreSQL to obtain type information about the database. This allows PG'OCaml to check at compile-time if the program is indeed consistent with the database structure. This type-safe database access is the primary advantage that PG'OCaml has over other PostgreSQL bindings for OCaml. . This package contains development files for PG'OCaml.
Homepage: http://pgocaml.forge.ocamlcore.org/
Version: 2.2-2build1
Section: universe/ocaml