typpx

Author Jun Furuse
Homepage http://bitbucket.org/camlspotter/typpx
Issue Tracker https://bitbucket.org/camlspotter/typpx/issues?status=new&status=open
Maintainer jun.furuse@gmail.com
Dependencies
& ocamlfind
omake
ppxx >= 1.3.1
Available ocaml-version >= "4.04.0" & ocaml-version < "4.05"
Published Feb 1, 2017
Source [http] http://bitbucket.org/camlspotter/typpx/get/1.2.1.tar.gz
22031e086987928bc0ffddc44a160fd5
Statistics Installed 2 times in last month.
Edit https://github.com/ocaml/opam-repository/tree/master/packages/typpx/typpx.1.2.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.
Necessary for
ocaml_at_p
1.1.0