Am Donnerstag, den 09.04.2015, 17:28 +0100 schrieb Dario Teixeira: > Hi, > > > How do you compose ppx extensions using META? Can you require > > "barloot.ppx"? The camlp4 "syntax" packages are usual ocaml > > libraries, so the rules of composition are (almost) clear. > > How does it work when you want to compose ppx rewriters? > > Gerd can provide a more authoritative answer, but I reckon > ocamlfind is smart enough to handle such cases. You can > already require a sub-package after all, and involving ppx > should not change this. As ppx rewriters are commands, and as you can specify the -ppx option several times to invoke several commands, the answer should be as clear as for the library case: The commands are just run one after the other, and if there is a dependency "ppx1 requires ppx2", the command for ppx2 is run first. Gerd -- ------------------------------------------------------------ Gerd Stolpmann, Darmstadt, Germany gerd@gerd-stolpmann.de My OCaml site: http://www.camlcity.org Contact details: http://www.camlcity.org/contact.html Company homepage: http://www.gerd-stolpmann.de ------------------------------------------------------------