From: simonpj Date: Tue, 1 Jul 2003 10:31:43 +0000 (+0000) Subject: [project @ 2003-07-01 10:31:43 by simonpj] X-Git-Tag: Approx_11550_changesets_converted~718 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=5a4644a14fe3d2ae323f66696f3ba8d453099584 [project @ 2003-07-01 10:31:43 by simonpj] Wibble to printing HsSyn variables --- diff --git a/ghc/compiler/hsSyn/HsImpExp.lhs b/ghc/compiler/hsSyn/HsImpExp.lhs index 52ce08b..9013967 100644 --- a/ghc/compiler/hsSyn/HsImpExp.lhs +++ b/ghc/compiler/hsSyn/HsImpExp.lhs @@ -112,6 +112,7 @@ isOperator ppr_v ('[':s) -> False -- [] ('$':c:s) -> not (isAlpha c) -- Don't treat $d as an operator (':':c:s) -> not (isAlpha c) -- Don't treat :T as an operator + ('_':s) -> False -- Not an operator (c:s) -> not (isAlpha c) -- Starts with non-alpha other -> False -- We use (showSDoc (ppr v)), rather than isSymOcc (getOccName v) simply so