@@ -1816,6 +1816,9 @@ pprintPTerm ppo bnd docArgs infixes = prettySe (ppopt_depth ppo) startPrec bnd
1816 depth d . bracket p startPrec $
1816 depth d . bracket p startPrec $
1817 lbrace <> kwd "default" <+> prettySe (decD d) (funcAppPrec + 1) bnd s <+> pretty n <+> colon <+> prettySe (decD d) startPrec bnd ty <>
1817 lbrace <> kwd "default" <+> prettySe (decD d) (funcAppPrec + 1) bnd s <+> pretty n <+> colon <+> prettySe (decD d) startPrec bnd ty <>
1818 rbrace <+> text "->" </> prettySe (decD d) startPrec ((n, True):bnd) sc
1818 rbrace <+> text "->" </> prettySe (decD d) startPrec ((n, True):bnd) sc
1819+ prettySe d p bnd (PApp _ (PRef _ _ neg) [_, _, val])
1820+ | basename neg == sUN "negate" =
1821+ lparen <> text "-" <> prettySe d funcAppPrec bnd (getTm val) <> rparen
1819 -- This case preserves the behavior of the former constructor PEq.
1822 -- This case preserves the behavior of the former constructor PEq.
1820 -- It should be removed if feasible when the pretty-printing of infix
1823 -- It should be removed if feasible when the pretty-printing of infix
1821 -- operators in general is improved.
1824 -- operators in general is improved.