paurkedal / ocaml-caqti

Cooperative-threaded access to relational data
https://paurkedal.github.io/ocaml-caqti/index.html
GNU Lesser General Public License v3.0
299 stars 36 forks source link

Update README.md to include missing module #88

Closed jonduarte closed 2 years ago

jonduarte commented 2 years ago

When running the example listed in the README.md, I'm getting the following error:

Error: Unbound value ->!

If I open Caqti_request.Infix the error goes away.

paurkedal commented 2 years ago

Thanks!

reynir commented 2 years ago

Perhaps it should rather be changing Caqti_request.(...) to Caqti_request.Infix.(...) a few lines below. And sorry for introducing this error!

paurkedal commented 2 years ago

It's a matter of tastes. I think maybe opening both the types and operators globally may be convenient when working in utop, but yes Caqti_request. is redundant now. I'll fix it up one way or the other. In any case thanks for the attention on the README; easy to forget.