ocaml-posix icon indicating copy to clipboard operation
ocaml-posix copied to clipboard

Provide module types? (Question)

Open jsoo1 opened this issue 3 years ago • 2 comments

This is more a question than anything else. Is it possible to create module types for these posix modules? I am working on a library and I am wondering how I can let the user bring their own c libraries. It would be nice to refer to some ocaml type or function in the library and defer to the library user to bring their own platform-specific ffi. Maybe this is an ill formed thought and I don’t know how to use your library. Thanks for your work! So far it works nicely!

jsoo1 avatar May 17 '21 13:05 jsoo1