package ppx_const

  1. Overview
  2. No Docs
Compile-time "if" statement for conditional inclusion of code.

Install

Authors

Maintainers

Sources

ppx_const-1.1.tar.gz
md5=53f811ffb931d9b8242ee1ddf9bf4e47

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.

Tags

syntax

Published: 10 Jun 2015

Dependencies (4)

  1. ocamlbuild build
  2. ocamlfind build
  3. ppx_tools >= "0.99.1"
  4. ocaml >= "4.02.0" & < "4.11"

Dev Dependencies (1)

  1. ounit with-test

Used by

None

Conflicts

None