package ppx_pipebang
A ppx rewriter that inlines reverse application operators `|>` and `|!`
Install
Dune Dependency
Authors
Maintainers
Sources
ppx_pipebang-v0.11.0.tar.gz
sha256=a0a67a1fc1147c62af89c07a4ba5c86864258be02e80f82b9b73b74916fd39f3
md5=8f41bb8e67167d04b82223d024008683
Description
Part of the Jane Street's PPX rewriters collection.
Published: 22 Mar 2018
README
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
).
Dependencies (4)
-
ppxlib
>= "0.1.0" & < "0.9.0"
-
ocaml-migrate-parsetree
>= "1.0" & < "2.0.0"
-
jbuilder
>= "1.0+beta18.1"
-
ocaml
>= "4.04.1"
Dev Dependencies
None
Used by (2)
-
ppx_jane
= "v0.11.0"
- ppx_partial
Conflicts (1)
-
jbuilder
= "1.0+beta19"
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page