aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/GHC/Utils.hs
diff options
context:
space:
mode:
authorDavid Waern <davve@dtek.chalmers.se>2007-09-29 15:01:08 +0000
committerDavid Waern <davve@dtek.chalmers.se>2007-09-29 15:01:08 +0000
commit2285031a517df314f53f73813b6b4e0f9010063d (patch)
tree98ee75d1278ca60527726c30ab9ecf36aab687e7 /src/Haddock/GHC/Utils.hs
parent3f683df722c3c2b7aba70d15daf95593fd6be96d (diff)
FIX: do not quote varsym type operators
Diffstat (limited to 'src/Haddock/GHC/Utils.hs')
-rw-r--r--src/Haddock/GHC/Utils.hs2
1 files changed, 1 insertions, 1 deletions
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