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.2.0&2.3.0
Availableocaml-version >= "4.04.0" & ocaml-version < "4.05.0"
PublishedAug 23, 2017
Source [http] https://bitbucket.org/camlspotter/typpx/get/1.4.0.tar.gz
034c31f54f0e4aba46cd8c943031f486
StatisticsInstalled 3 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/typpx/typpx.1.4.0/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.