Presenting a new package: ppx_platform match%platform () with | Server -> In_memory.make () | Client -> Local_storage.make () It helps share code between native and JavaScript (with Melange), by choosing different implementations or discarding parts github.com/ml-in-barce...
github.comGitHub - ml-in-barcelona/ppx_platform: Platform-specific code for native and Melange buildsPlatform-specific code for native and Melange builds - ml-in-barcelona/ppx_platform