typpx

AuthorJun Furuse
Homepagehttp://bitbucket.org/camlspotter/typpx
Issue Trackerhttps://bitbucket.org/camlspotter/typpx/issues?status=new&status=open
Maintainerjun.furuse@gmail.com
Dependencies
&jbuilder
ppxx>= 2.3.0&2.4.0
Availableocaml-version >= "4.06.0" & ocaml-version < "4.07.0"
PublishedJan 25, 2018
Source [http] https://bitbucket.org/camlspotter/typpx/get/1.4.3.tar.gz
38b04223addfaadb72fa2c689080c798
StatisticsInstalled 7 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/typpx/typpx.1.4.3/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.