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/PipeFirst/archive/0.0.1.tar.gz
md5=3e4cf5f2de1b2c077d7708fc566a317a
sha512=afc010dd681f51c44d9d1124160a3adaa9f17352adf18b55c07e76dc842f4abd6f22effb8cf10c2e372145dd5c29dc9912726752fc72ea2d3780cde6e4d93aeb
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ppx_fast_pipe/ppx_fast_pipe.0.0.1/opam
No package is dependent