Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
We only use `T` to build set and map modules for Xliteral.
  • Loading branch information
Halbaroth committed Feb 25, 2025
1 parent e5bad3d commit b9832c2
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions src/lib/structures/xliteral.ml
Original file line number Diff line number Diff line change
Expand Up @@ -163,16 +163,17 @@ module Make (X : OrderedType) : S with type elt = X.t = struct
| b , PR p -> Pred(p,b)
| b , BT(n,l) -> Builtin(not b, n, l) (* b true <-> not negated *)

module T = struct
type t' = t
type t = t'
let compare=compare
let equal = equal
let hash = hash
end

module Set = Set.Make(T)
module Map = Map.Make(T)
module Set =
Set.Make (struct
type nonrec t = t
let compare = compare
end)

module Map =
Map.Make (struct
type nonrec t = t
let compare = compare
end)

let print ppf a = print_view X.print ppf (view a)

Expand Down

0 comments on commit b9832c2

Please sign in to comment.