package ppx_pipebang

  1. Overview
  2. Docs
A ppx rewriter that inlines reverse application operators `|>` and `|!`

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_pipebang-v0.13.0.tar.gz
sha256=85265e3dfcf404c6351688a91f9f4b34b767ff719d98b6b1580dcf161427f4e5
md5=59660363b73f80e880dfd9fbecaef04b

README.md.html

ppx_pipebang

A ppx rewriter that inlines reverse application operators |> and |!.

ppx_pipebang rewrites x |> f and x |! f as f x, regardless of whether |> and |! have been redefined.

Do not use |! in new code, it is there only for backwards compatibility.

This inlining is mostly done for historical reasons but it also allows f to have optional arguments (like Option.value_exn).

OCaml

Innovation. Community. Security.