[sledge] Dedup equality classes when printing

Reviewed By: ngorogiannis

Differential Revision: D20120266

fbshipit-source-id: 28eaf47db
master
Josh Berdine 5 years ago committed by Facebook Github Bot
parent 8383dcebb8
commit fa23e85bb4

@ -660,7 +660,7 @@ let ppx_classes_diff x fs (r, s) =
(fun fs (rep, cls) ->
Format.fprintf fs "@[%a@ = %a@]" (Term.ppx x) rep
(List.pp "@ = " (Term.ppx x))
(List.sort ~compare:Term.compare cls) )
(List.dedup_and_sort ~compare:Term.compare cls) )
fs (Map.to_alist clss)
(** Existential Witnessing and Elimination *)

Loading…
Cancel
Save