Skip to content

Commit

Permalink
Merge pull request mirage#364 from CraigFe/unused-resolvers-type
Browse files Browse the repository at this point in the history
Remove unused Conduit.S.resolvers type
  • Loading branch information
dinosaure authored Dec 3, 2020
2 parents eaf54be + 9a544cb commit 194a067
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/core/conduit.ml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ end) : BIJECTION with type +'a s = 'a Functor.t = struct
external prj : ('a, t) app -> 'a s = "%identity"
end

module type S = sig
include S with type resolvers := resolvers
end

module Make (IO : IO) (Input : BUFFER) (Output : BUFFER) :
S
with type input = Input.t
Expand Down Expand Up @@ -222,8 +226,6 @@ module Make (IO : IO) (Input : BUFFER) (Output : BUFFER) :

let ( <.> ) f g x = f (g x)

type nonrec resolvers = resolvers

let empty = empty

let add :
Expand Down
3 changes: 2 additions & 1 deletion src/core/conduit_intf.ml
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ module type S = sig
type resolvers

val empty : resolvers
(** [empty] is equal to {!Conduit.empty}. *)

val add :
('edn, _) protocol ->
Expand Down Expand Up @@ -505,7 +506,7 @@ module type Conduit = sig
(** [empty] is an empty {!resolvers} map. *)

module type S = sig
include S
include S with type resolvers := resolvers
(** @inline *)
end

Expand Down

0 comments on commit 194a067

Please sign in to comment.