We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4748e13 commit 6ece4e0Copy full SHA for 6ece4e0
src/QCheck.ml
@@ -23,6 +23,8 @@ open Printf
23
24
module RS = Random.State
25
26
+let (|>) x f = f x
27
+
28
let rec foldn ~f ~init:acc i =
29
if i = 0 then acc else foldn ~f ~init:(f acc i) (i-1)
30
0 commit comments