mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
format
This commit is contained in:
parent
4c9ab1c659
commit
55d088f0d4
1 changed files with 3 additions and 1 deletions
|
|
@ -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} *)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue