Skip to content

Commit

Permalink
debug print removal
Browse files Browse the repository at this point in the history
  • Loading branch information
mauro-milella committed Jul 22, 2023
1 parent f9c72f1 commit cef04d3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/general.jl
Original file line number Diff line number Diff line change
Expand Up @@ -679,8 +679,6 @@ function syntaxstring(
tprec = Base.operator_precedence(tok)
chprec = Base.operator_precedence(chtok)

# println("$(tok) with $(tprec) and $(chtok) with $(chprec) $(relation)")

if !(
(iscommutative(tok) && tok == chtok) ||
# this is needed to write "◊¬p ∧ ¬q" instead of "(◊¬p) ∧ (¬q)"
Expand All @@ -695,7 +693,6 @@ function syntaxstring(
# this is needed to write "(q → p) → ¬q" instead of "q → p → ¬q";
# note that "q → (p → ¬q)", instead, is not correct since → is not commutative.
lpar, rpar = "(", ")"
# println("entered")
end

return "$(lpar)$(syntaxstring(ch; kwargs...))$(rpar)"
Expand Down

0 comments on commit cef04d3

Please sign in to comment.