ppx_platformversion Documentation on ocaml.org

Platform-specific code for native and Melange builds

A ppx rewriter that keeps one OCaml codebase for native and Melange builds: let%browser_only, [@platform js], [@platform native] and switch%platform pick the code that each target compiles.

AuthorDavid Sancho <dsnxmoreno@gmail.com>
LicenseMIT
Published
Homepagehttps://github.com/ml-in-barcelona/ppx_platform
Issue Trackerhttps://github.com/ml-in-barcelona/ppx_platform/issues
MaintainerDavid Sancho <dsnxmoreno@gmail.com>
Dependencies
Source [http] https://github.com/ml-in-barcelona/ppx_platform/releases/download/0.2.0/ppx_platform-0.2.0.tbz
sha256=3b63eb4fc72762bedb12b51f34b05976f096916ea886ea8f54dafe22474e276d
sha512=5acbd9de60cfd026ddd92078e5943d6f3081d4299ee3ba2e2194d11e5e6a6fc93d6b0166684109bc1fd9549334e73cd6951dda0e61199ab527194038083b345d
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ppx_platform/ppx_platform.0.2.0/opam
No package is dependent