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
omake0.10.1
ppxx1.2.1
Availableocaml-version >= "4.02.2" & ocaml-version < "4.03.0"
PublishedMay 4, 2016
Source [http] https://bitbucket.org/camlspotter/typpx/get/1.1.2.tar.gz
00b5e281b1f8d6b919de75ef5bb329ab
StatisticsNot installed in the last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/typpx/typpx.1.1.2/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.
No package is dependent