pgx
pgx copied to clipboard
Deprecated `Stream` module
Background
While working on a library that uses pgx
as a client to interact with Postgresql
, I have some issues building it with ocaml >= 4.14
. Indeed, as described in this thread, the Stream
module is deprecated in ocaml.4.14
and absent int ocaml.5.0.0
.
Outcome
A good solution seems to move from Stream
to Seq
as it is the functional version.