You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It probably needs a switch to use either Pervasives (older compiler versions) and Stdlib (5.0+ and possibly already earlier versions, to avoid deprecation warnings).
Maybe a module like stdcompat__stdlib should be created that does exactly this?
Thank you for your report! The new release stdcompat.19 is out (PR for opam: ocaml/opam-repository#21537) and is compatible with OCaml 5.0. For the moment, Stdcompat still exposes a Stdcompat.Pervasives module, which relies on Stdlib with OCaml >=4.07. More work should be done to restore automatic API generation with OCaml 5.0 (I updated the API of this release by hand; in particular, I prefer to wait that the standard library of OCaml 5.0 becomes stable in OCaml beta releases before adding more features from OCaml 5.0), and this will probably lead to a module stdcompat__stdlib as @Leonidas-from-XIV suggests in future versions.
Build fails on OCaml trunk due to removal of the
Pervasives
module. Any pointers on how to fix it?The text was updated successfully, but these errors were encountered: