Error with multiple ppx
"Johan Mazel [email protected] [ocaml_beginners]" <[email protected]> Wed, 3 Feb 2016 16:07:18 +0900
| Newsgroups | gmane.comp.lang.ocaml.beginners |
|---|---|
| Message-ID | <CAKS5mhR54iraTWpR1o6NkpQrQs=v_LjX-Ch2VAJ+1R0L0+mhvQ@mail.gmail.com> |
Hi I am trying to replace my usual standard type definition enhancement combination "with compare, sexp, bin_io" by the ppx equivalent. When I add [@@deriving compare, sexp], it works perfectly with only "ppx_compare" and "ppx_sexp_conv" added to my _oasis file. But, if I add "ppx_bin_prot" to my oasis file, [@@deriving compare] or [@@deriving compare, sexp] yield this error: ppx_type_conv: 'compare' is not a supported type type-conv generator. If I use [@@deriving bin_io], it compiles without any error. Did I miss something regarding the way those ppx rewriters work ? Regards, Johan