Skip to content

Commit

Permalink
Merge pull request #28 from hannesm/another-fix
Browse files Browse the repository at this point in the history
We need to sort the functors in the other order
  • Loading branch information
dinosaure authored Jun 17, 2024
2 parents b73d754 + 91ca4a5 commit 58a96e5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions mirage/mimic_happy_eyeballs.ml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ end

module Make
(Stack : Tcpip.Stack.V4V6)
(_ : Dns_client_mirage.S
with type happy_eyeballs = Happy_eyeballs.t
and type Transport.stack = Stack.t * Happy_eyeballs.t)
(Happy_eyeballs : Happy_eyeballs_mirage.S
with type flow = Stack.TCP.flow
and type stack = Stack.t) : sig
and type stack = Stack.t)
(_ : Dns_client_mirage.S
with type happy_eyeballs = Happy_eyeballs.t
and type Transport.stack = Stack.t * Happy_eyeballs.t) : sig
include S with type t = Happy_eyeballs.t and type flow = Stack.TCP.flow

val connect : Happy_eyeballs.t -> Mimic.ctx Lwt.t
Expand Down
8 changes: 4 additions & 4 deletions mirage/mimic_happy_eyeballs.mli
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ end
user. *)
module Make
(Stack : Tcpip.Stack.V4V6)
(_ : Dns_client_mirage.S
with type happy_eyeballs = Happy_eyeballs.t
and type Transport.stack = Stack.t * Happy_eyeballs.t)
(Happy_eyeballs : Happy_eyeballs_mirage.S
with type flow = Stack.TCP.flow
and type stack = Stack.t) : sig
and type stack = Stack.t)
(_ : Dns_client_mirage.S
with type happy_eyeballs = Happy_eyeballs.t
and type Transport.stack = Stack.t * Happy_eyeballs.t) : sig
include S with type t = Happy_eyeballs.t and type flow = Stack.TCP.flow

val connect : t -> Mimic.ctx Lwt.t
Expand Down

0 comments on commit 58a96e5

Please sign in to comment.