From 2285031a517df314f53f73813b6b4e0f9010063d Mon Sep 17 00:00:00 2001 From: David Waern Date: Sat, 29 Sep 2007 15:01:08 +0000 Subject: FIX: do not quote varsym type operators --- src/Haddock/GHC/Utils.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Haddock/GHC') diff --git a/src/Haddock/GHC/Utils.hs b/src/Haddock/GHC/Utils.hs index 5e8142e5..08eb4fb5 100644 --- a/src/Haddock/GHC/Utils.hs +++ b/src/Haddock/GHC/Utils.hs @@ -53,7 +53,7 @@ modulePkgStr = packageIdString . modulePackageId -- misc -isNameSym = isSymOcc . nameOccName +isNameSym n = isNameVarSym n || isNameConSym n isNameVarSym = isLexVarSym . occNameFS . nameOccName isNameConSym = isLexConSym . occNameFS . nameOccName -- cgit v1.2.3