mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-06 03:05:30 -05:00
fix warnings
This commit is contained in:
parent
62e8336d84
commit
989c012f77
2 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ let rec fib ~on x : int Fut.t =
|
||||||
Atomic.incr n_calls_fib_direct;
|
Atomic.incr n_calls_fib_direct;
|
||||||
fib_direct x)
|
fib_direct x)
|
||||||
else
|
else
|
||||||
let open Fut.Infix_local in
|
let open Fut.Infix in
|
||||||
let+ t1 = fib ~on (x - 1) and+ t2 = fib ~on (x - 2) in
|
let+ t1 = fib ~on (x - 1) and+ t2 = fib ~on (x - 2) in
|
||||||
t1 + t2
|
t1 + t2
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ let () =
|
||||||
Q.(small_list small_int)
|
Q.(small_list small_int)
|
||||||
(fun l ->
|
(fun l ->
|
||||||
let@ pool = with_pool ~kind () in
|
let@ pool = with_pool ~kind () in
|
||||||
let open Fut.Infix_local in
|
let open Fut.Infix in
|
||||||
let l' =
|
let l' =
|
||||||
l
|
l
|
||||||
|> List.map (fun x ->
|
|> List.map (fun x ->
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue