@hackage postgresql-simple-bind0.2.0.0

A FFI-like bindings for PostgreSQL stored functions

For tutorial see here: https://github.com/zohl/postgresql-simple-bind/blob/master/README.md