Skip to content

Commit

Permalink
Remove type signature from Reserr.fold_left implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
n-osborne committed Sep 5, 2024
1 parent 6986b9d commit 4f35a57
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/qcheck-stm/src/reserr.ml
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,7 @@ let promote_opt r =
let* _ = warns ws and* _ = filter_errs errs in
ok None

let rec fold_left (f : 'a -> 'b -> 'a reserr) (acc : 'a) : 'b list -> 'a reserr
= function
let rec fold_left f acc = function
| [] -> ok acc
| x :: xs -> (
match f acc x with
Expand Down

0 comments on commit 4f35a57

Please sign in to comment.