typpx

AuthorJun Furuse
Homepagehttp://bitbucket.org/camlspotter/typpx
Issue Trackerhttps://bitbucket.org/camlspotter/typpx/issues?status=new&status=open
Maintainerjun.furuse@gmail.com
Dependencies
&ocamlfind
omake
ppxx>= 2.3.0&2.4.0
Availableocaml-version >= "4.05.0" & ocaml-version < "4.06.0"
PublishedSep 15, 2017
Source [http] https://bitbucket.org/camlspotter/typpx/get/1.4.1.tar.gz
7fb058c88cd68d4e7baff4d825ff26ab
StatisticsInstalled 3 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/typpx/typpx.1.4.1/opam

a library for PPX with types

typpx is a library to build PPX'es with types. Typing the input Parsetree by the vanilla or modified OCaml compiler's type inference, you can perform AST transformation with type information over Typedtree.

For examples, it includes:

  • ppx_curried_constr, which makes variant constructors curried functions
  • ppx_type_of, a function to get the type name of argument.