[sledge] Change confusing order of Multiset args

Reviewed By: ngorogiannis

Differential Revision: D26250540

fbshipit-source-id: 5fd5da36b
master
Josh Berdine 4 years ago committed by Facebook GitHub Bot
parent ae787bbde1
commit 3593e41de1

@ -10,10 +10,10 @@
open! NS0
include Multiset_intf
module Make
(Mul : MULTIPLICITY) (Elt : sig
module Make (Elt : sig
type t [@@deriving compare, sexp_of]
end) =
end)
(Mul : MULTIPLICITY) =
struct
module M = Map.Make (Elt)

@ -9,7 +9,7 @@
include module type of Multiset_intf
module Make
(Mul : MULTIPLICITY) (Elt : sig
module Make (Elt : sig
type t [@@deriving compare, sexp_of]
end) : S with type mul = Mul.t with type elt = Elt.t
end)
(Mul : MULTIPLICITY) : S with type mul = Mul.t with type elt = Elt.t

@ -14,7 +14,7 @@ module Representation
(Trm : INDETERMINATE with type var := Var.t) =
struct
module Prod = struct
include Multiset.Make (Int) (Trm)
include Multiset.Make (Trm) (Int)
let t_of_sexp = t_of_sexp Trm.t_of_sexp
end
@ -78,7 +78,7 @@ struct
end
module Sum = struct
include Multiset.Make (Q) (Mono)
include Multiset.Make (Mono) (Q)
let t_of_sexp = t_of_sexp Mono.t_of_sexp
end

Loading…
Cancel
Save