| Terms.Invertible -> "=<->="
let pp_literal ~formatter:f l =
- match fst l with
- | Terms.Predicate t ->
+ match l with
+ | Terms.Predicate t,sel ->
Format.fprintf f "@[<hv>{";
+ if sel then Format.fprintf f "*";
pp_foterm f t;
+ if sel then Format.fprintf f "*";
Format.fprintf f "}@;"
- | Terms.Equation (lhs, rhs, ty, comp) ->
+ | Terms.Equation (lhs, rhs, ty, comp),sel ->
Format.fprintf f "@[<hv>{";
+ if sel then Format.fprintf f "*";
pp_foterm f ty;
Format.fprintf f "}:@;@[<hv>";
pp_foterm f lhs;
Format.fprintf f "@;%s@;" (string_of_comparison comp);
pp_foterm f rhs;
+ if sel then Format.fprintf f "*";
Format.fprintf f "@]@;"
;;