Re: Error with multiple ppx
| Newsgroups | gmane.comp.lang.ocaml.beginners |
|---|---|
| Message-ID | <[email protected]> |
Hi, I suggest you ask this on the ocaml mailing list. /Str. On 03.02.2016 08:07, Johan Mazel [email protected] [ocaml_beginners] wrote: > > 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 >