package ppx_pipebang

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=b50995e2e31fa1f93c2468780f5f082e0859782f8826cc05ad3ec2ad4f8c02ff

Description

Part of the Jane Street's PPX rewriters collection.

Published: 23 May 2024

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 >= "3.11.0"
  3. ocaml >= "5.1.0"

Dev Dependencies

None

Used by (2)

  1. ppx_jane >= "v0.17.0"
  2. ppx_partial

Conflicts

None

OCaml

Innovation. Community. Security.