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.1.0/ppx_platform-0.1.0.tbz
sha256=bb9987a34d52ffbc501b6c86a759dfe0078a92791bf6424f7c5fca4520289906
sha512=41ad7ffb121061580f50cbcd225c7493468b7ba37008dcdc2917d9ba3299069311c68a32022d311af808c24451335c6ab85be06ddeccdc68011de4e9277c4d8f
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ppx_platform/ppx_platform.0.1.0/opam
No package is dependent