package pa_ppx_static

  1. Overview
  2. Docs
A Camlp5 PPX Rewriter for static blocks

Install

Dune Dependency

Authors

Maintainers

Sources

0.01.tar.gz
sha512=6c92176ad290a1c8b04a4297a345e40590284301c93d43059bb976f4603a9e61f4534359401d056a9aff7aff9f4d17bca20a4e1c4b1fd5c8f2f03619f80a4bd8

Description

This is a PPX Rewriter to provide `static' blocks for OCaml, so you can write code that computes some expensive expression and mark it as static, so it'll be computed only once. Like regexps.

Published: 06 Apr 2023

Dependencies (7)

  1. fmt
  2. ounit >= "2.2.7"
  3. not-ocamlfind >= "0.10"
  4. pa_ppx >= "0.12"
  5. camlp5 >= "8.01.00"
  6. camlp5-buildscripts >= "0.02" & < "0.03"
  7. ocaml >= "4.10.0" & < "5.01.0"

Dev Dependencies (1)

  1. mdx with-test

Used by (1)

  1. pa_ppx_regexp

Conflicts

None

OCaml

Innovation. Community. Security.