Compile-time "if" statement for conditional inclusion of code.
Description

This is a ppx extension which adds if#const and match#const constructs to OCaml. They behave like normal if and const, but conditions are evaluated at compile time and AST sections not selected are excluded from the program completely. In conjunction with ppx_getenv, this can be used for conditional compilation of code.

Install
Last Published
10 Jun 2015
Authors
Maintainers
Sources
ppx_const-1.1.tar.gz
md5=53f811ffb931d9b8242ee1ddf9bf4e47
Dependencies
ounit with-test
ppx_tools >= "0.99.1"
ocaml >= "4.02.0" & < "4.11"
Reverse Dependencies