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 Oct 2, 2024
1 parent d8fe270 commit 9133121
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 @@ -323,8 +323,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 9133121

Please sign in to comment.