Skip to content

Commit

Permalink
ocaml 4.08 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
bclement-ocp committed Jul 30, 2024
1 parent 8152089 commit 553259e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/lib/reasoners/bitv_rel.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1660,12 +1660,12 @@ type state =
type 'a hashable = (module Hashtbl.HashedType with type t = 'a)

module Any_propagator : sig
type !'a t
type 'a t

val make : 'a hashable -> (state -> 'a -> unit) -> 'a t

module Queue : sig
type !'a propagator = 'a t
type 'a propagator = 'a t

type t

Expand All @@ -1676,7 +1676,7 @@ module Any_propagator : sig
val run1 : state -> t -> bool
end
end = struct
type !'a t =
type 'a t =
{ id : 'a Type.Id.t
; hashable : 'a hashable
; run : state -> 'a -> unit }
Expand Down Expand Up @@ -1704,7 +1704,7 @@ end = struct
module Q = Uqueue.Make(Binding)

module Queue = struct
type !'a propagator = 'a t
type 'a propagator = 'a t

type t = Q.t

Expand Down
2 changes: 1 addition & 1 deletion src/lib/util/type.ml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module Id = struct
type _ id += Id : t id
end

type !'a t = (module ID with type t = 'a)
type 'a t = (module ID with type t = 'a)

let make (type a) () : a t =
(module struct type t = a type _ id += Id : t id end)
Expand Down
2 changes: 1 addition & 1 deletion src/lib/util/type.mli
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
type (_, _) eq = Equal : ('a, 'a) eq

module Id : sig
type !'a t
type 'a t

val make : unit -> 'a t

Expand Down

0 comments on commit 553259e

Please sign in to comment.