Skip to content

Commit a78a1a4

Browse files
authored
Merge pull request #25 from cknitt/ppx_fast_pipe
Use ppx_fast_pipe.
2 parents b901716 + 3d2b21d commit a78a1a4

File tree

6 files changed

+95
-50
lines changed

6 files changed

+95
-50
lines changed

bin/dune

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
(name Extract)
33
(public_name Extract.exe)
44
(flags (:standard -w -9))
5+
(preprocess (pps ppx_fast_pipe))
56
(libraries lib)
67
)

esy.lock.json

Lines changed: 91 additions & 47 deletions
Large diffs are not rendered by default.

lib/dune

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
(name lib)
33
(public_name bs-react-intl-extractor)
44
(flags (:standard -w -9))
5+
(preprocess (pps ppx_fast_pipe))
56
(libraries reason yojson unix)
67
)

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"@esy-ocaml/reason": "^3.3.7",
2121
"@opam/alcotest": "^0.8.4",
2222
"@opam/dune": "^1.4.0",
23+
"@opam/ppx_fast_pipe": "^0.0.1",
2324
"@opam/yojson": "^1.4.1",
2425
"ocaml": "~4.6.7",
2526
"refmterr": "^3.1.8"

test/CmdLine.re

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
let res = Alcotest.(pair(string, string));
22

3-
/* Make fast pipe available. */
4-
let (|.) = (a, b) => b(a);
5-
63
let getChannelContents = channel => {
74
open Buffer;
85

test/dune

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
(executable
44
(name Test)
55
(public_name Test.exe)
6+
(preprocess (pps ppx_fast_pipe))
67
(libraries alcotest)
78
)

0 commit comments

Comments
 (0)