I try the following expression :
open Base
type t = int*int [@@deriving compare, sexp];;
if I use :
ocamlfind.exe ocamlc -package base -ppx "ppx-base -as-ppx" a.ml
I have the error :
Unbound module Ppx_sexp_conv_lib
Then I try :
ocamlfind.exe ocamlc -package base,ppx_base -ppx "ppx-base -as-ppx" a.ml
Now the Base package seems unavailable :
$ocamlfind.exe ocamlc -package base,ppx_base -ppx "ppx-base -as-ppx" a.ml
File "a.ml", line 1:
Error: Required module `Base' is unavailable
I am quite clueless about the way to compile this program.
Note that I have no trouble to use open Base and the type expression in utop.