Skip to content

Commit 6ece4e0

Browse files
committed
compat 4.0
1 parent 4748e13 commit 6ece4e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/QCheck.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ open Printf
2323

2424
module RS = Random.State
2525

26+
let (|>) x f = f x
27+
2628
let rec foldn ~f ~init:acc i =
2729
if i = 0 then acc else foldn ~f ~init:(f acc i) (i-1)
2830

0 commit comments

Comments
 (0)