package ppx_pipebang
A ppx rewriter that inlines reverse application operators `|>` and `|!`
Install
Dune Dependency
Authors
Maintainers
Sources
ppx_pipebang-v0.9.0.tar.gz
sha256=3bed1616f78e5a58a48fee96d0981ee8a7509706846365d5a15b8c6dd4fc5b73
md5=604a1203fbdaa37cb530176d766b7664
Description
Part of the Jane Street's PPX rewriters collection.
Published: 22 Mar 2017
README
title: ppx_pipebang parent: ../README.md
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
).
Dependencies (6)
-
ocaml-migrate-parsetree
>= "0.4" & < "2.0.0"
-
ppx_metaquot
>= "v0.9" & < "v0.10"
-
ppx_driver
>= "v0.9" & < "v0.10"
-
ppx_core
>= "v0.9" & < "v0.10"
-
jbuilder
>= "1.0+beta4"
-
ocaml
>= "4.03.0"
Dev Dependencies
None
Used by (2)
-
ppx_jane
= "v0.9.0"
- ppx_partial
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page