mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-06 03:05:30 -05:00
fix: Fork_join.both_ignore now has a more general type
This commit is contained in:
parent
b346fa03af
commit
f46cc4f12c
2 changed files with 2 additions and 2 deletions
|
|
@ -87,7 +87,7 @@ let both f g : _ * _ =
|
|||
};
|
||||
get_exn st
|
||||
|
||||
let both_ignore f g = ignore (both f g : unit * unit)
|
||||
let both_ignore f g = ignore (both f g : _ * _)
|
||||
|
||||
let all_list fs : _ list =
|
||||
let len = List.length fs in
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ val both : (unit -> 'a) -> (unit -> 'b) -> 'a * 'b
|
|||
@since 0.3
|
||||
{b NOTE} this is only available on OCaml 5. *)
|
||||
|
||||
val both_ignore : (unit -> unit) -> (unit -> unit) -> unit
|
||||
val both_ignore : (unit -> _) -> (unit -> _) -> unit
|
||||
(** Same as [both f g |> ignore].
|
||||
@since 0.3
|
||||
{b NOTE} this is only available on OCaml 5. *)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue