mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-05 19:00:33 -05:00
compat
This commit is contained in:
parent
22f43670a7
commit
42d16465c3
2 changed files with 2 additions and 4 deletions
|
|
@ -1,8 +1,6 @@
|
|||
type suspension = unit Exn_bt.result -> unit
|
||||
type task = unit -> unit
|
||||
|
||||
[@@@ifge 5.0]
|
||||
|
||||
type suspension_handler = {
|
||||
handle:
|
||||
run:(task -> unit) ->
|
||||
|
|
@ -12,6 +10,7 @@ type suspension_handler = {
|
|||
}
|
||||
[@@unboxed]
|
||||
|
||||
[@@@ifge 5.0]
|
||||
[@@@ocaml.alert "-unstable"]
|
||||
|
||||
module A = Atomic_
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@
|
|||
type suspension = unit Exn_bt.result -> unit
|
||||
(** A suspended computation *)
|
||||
|
||||
[@@@ifge 5.0]
|
||||
|
||||
type task = unit -> unit
|
||||
|
||||
type suspension_handler = {
|
||||
|
|
@ -40,6 +38,7 @@ type suspension_handler = {
|
|||
- use [resume] exactly
|
||||
*)
|
||||
|
||||
[@@@ifge 5.0]
|
||||
[@@@ocaml.alert "-unstable"]
|
||||
|
||||
type _ Effect.t +=
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue