| `Exists -> "exists"
| `Forall -> "forall"
-let pp_literal = function (* debugging version *)
- | `Symbol s -> sprintf "symbol(%s)" s
- | `Keyword s -> sprintf "keyword(%s)" s
- | `Number s -> sprintf "number(%s)" s
-
-(* let pp_literal = function
- | `Symbol s
- | `Keyword s
- | `Number s -> s *)
+let pp_literal =
+ if debug_printing then
+ (function (* debugging version *)
+ | `Symbol s -> sprintf "symbol(%s)" s
+ | `Keyword s -> sprintf "keyword(%s)" s
+ | `Number s -> sprintf "number(%s)" s)
+ else
+ (function
+ | `Symbol s
+ | `Keyword s
+ | `Number s -> s)
let rec pp_term ?(pp_parens = true) t =
let t_pp =