[sledge] Rename Qset to Multiset

Summary: In preparation for generalizing the type of multiplicities.

Reviewed By: jvillard

Differential Revision: D24306052

fbshipit-source-id: ddb71499e
master
Josh Berdine 4 years ago committed by Facebook GitHub Bot
parent 682fb9158c
commit bd49ad84a8

@ -137,7 +137,7 @@ module IArray = IArray
include IArray.Import
module Set = Set
module Map = Map
module Qset = Qset
module Multiset = Multiset
(** Data types *)

@ -109,7 +109,7 @@ module IArray = IArray
include module type of IArray.Import
module Set = Set
module Map = Map
module Qset = Qset
module Multiset = Multiset
(** Data types *)

@ -5,10 +5,10 @@
* LICENSE file in the root directory of this source tree.
*)
(** Qset - Set with (signed) rational multiplicity for each element *)
(** Multiset - Set with (signed) rational multiplicity for each element *)
open NS0
include Qset_intf
include Multiset_intf
module Make (Elt : sig
type t [@@deriving compare, sexp_of]

@ -5,9 +5,9 @@
* LICENSE file in the root directory of this source tree.
*)
(** Qset - Set with (signed) rational multiplicity for each element *)
(** Multiset - Set with (signed) rational multiplicity for each element *)
include module type of Qset_intf
include module type of Multiset_intf
module Make (Elt : sig
type t [@@deriving compare, sexp_of]

@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*)
(** Qset - Set with (signed) rational multiplicity for each element *)
(** Multiset - Set with (signed) rational multiplicity for each element *)
open NS0

@ -44,11 +44,11 @@ end = struct
end
and Qset : sig
include NS.Qset.S with type elt := T.t
include NS.Multiset.S with type elt := T.t
val t_of_sexp : Sexp.t -> t
end = struct
include NS.Qset.Make (T)
include NS.Multiset.Make (T)
let t_of_sexp = t_of_sexp T.t_of_sexp
end

@ -57,7 +57,7 @@ module rec Set : sig
end
and Qset : sig
include NS.Qset.S with type elt := T.t
include NS.Multiset.S with type elt := T.t
val t_of_sexp : Sexp.t -> t
end

Loading…
Cancel
Save