Skip to content

Commit

Permalink
compat 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed May 29, 2017
1 parent 4748e13 commit 6ece4e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/QCheck.ml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ open Printf

module RS = Random.State

let (|>) x f = f x

let rec foldn ~f ~init:acc i =
if i = 0 then acc else foldn ~f ~init:(f acc i) (i-1)

Expand Down

0 comments on commit 6ece4e0

Please sign in to comment.