package ppx_const
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
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.
Dependencies (4)
-
ocamlbuild
build
-
ocamlfind
build
-
ppx_tools
>= "0.99.1"
-
ocaml
>= "4.02.0" & < "4.11"
Dev Dependencies (1)
-
ounit
with-test
Used by
Conflicts
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page