package pa_ppx_static

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.02.tar.gz
sha512=66f4d72175e1431262049aa2d3e6922e21e06ac1fd6601facfea1a34dee35ea47680618bb804d736fa71a7cae3cb55da60182735ac1529acff4ca491558b6210

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: 12 Sep 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"
  7. ocaml >= "4.10.0"

Dev Dependencies (1)

  1. pcre2 with-test

Used by (1)

  1. pa_ppx_regexp

Conflicts

None