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.16.0.tar.gz
sha256=b9e447e49cdbc55fb0f66401ed0d7b6522fbec6518a43f7a4905af67e41efa66

Description

Part of the Jane Street's PPX rewriters collection.

Published: 02 Jun 2023

README

ppx_pipebang

A ppx rewriter that inlines the reverse application operator |>.

ppx_pipebang rewrites x |> f as f x, regardless of whether |> has been redefined.

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

Dependencies (3)

  1. ppxlib >= "0.28.0"
  2. dune >= "2.0.0"
  3. ocaml >= "4.14.0"

Dev Dependencies

None

Used by (2)

  1. ppx_jane = "v0.16.0"
  2. ppx_partial

Conflicts

None

OCaml

Innovation. Community. Security.