ppx_fast_pipeversion

Fast pipe, pipe first as a syntax transform

Pipe first as a syntax transform. Provides a ppx to transform expressions containing the |. (Ocaml) or -> (Reason) operator. Pipes the left side as first argument to the right side.

Example Reason:

/* validateAge(getAge(parseData(person))) */ person ->parseData ->getAge ->validateAge;

/* Some(preprocess(name)); */ name->preprocess->Some;

/* f(a, ~b, ~c) */ a->f(~b, ~c)

Example Ocaml:

(* validateAge (getAge (parseData person)) *) person |. parseData |. getAge |. validateAge

(* Some(preprocess name) *) name |. preprocess |. Some;

(* f a ~b ~c *) a |. f ~b ~c

AuthorIwan Karamazow m.falka@icloud.com
LicenseMIT
Published
Homepagehttps://github.com/IwanKaramazow/FastPipe
Issue Trackerhttps://github.com/IwanKaramazow/FastPipe
MaintainerIwan Karamazow <m.falka@icloud.com>
Dependencies
Source [http] https://github.com/IwanKaramazow/FastPipe/archive/0.0.1.tar.gz
md5=2b0b56a5d3c437dc93d3353ea7f74e3c
sha512=bcc634acfb24490578120b25b53f85dbd9d18ee306ea073d4c79fc1e14e9a18b31eadca5f9d92979209a7cdc72e3d0fdb5e26103d6903d4f35a8e006e66c5bdc
StatisticsInstalled 18 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ppx_fast_pipe/ppx_fast_pipe.0.0.1/opam
No package is dependent