This commit is contained in:
Sebastian Provenzano 2024-11-14 19:35:38 -06:00
parent 4c9ab1c659
commit 55d088f0d4

View file

@ -170,7 +170,9 @@ let is_error = function
let split_ok_error results =
results
|> CCList.partition_filter_map (fun x ->
match x with Ok o -> `Left o | Error e -> `Right e)
match x with
| Ok o -> `Left o
| Error e -> `Right e)
(** {2 Wrappers} *)