summaryrefslogtreecommitdiff
path: root/compiler/utils/Outputable.hs
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2015-08-03 13:38:48 +0200
committerGabor Greif <ggreif@gmail.com>2015-08-03 16:21:05 +0200
commit7ec6ffc4e8ccf5c24149d9ab34c3619516dc3081 (patch)
treec0be6db8439304b015ccba88f5d81899d2cd2343 /compiler/utils/Outputable.hs
parentd9d2102ea7f6da1bc3a69fa469b89ea843cb8b02 (diff)
downloadhaskell-7ec6ffc4e8ccf5c24149d9ab34c3619516dc3081.tar.gz
Typos in comments [skip ci]
Diffstat (limited to 'compiler/utils/Outputable.hs')
-rw-r--r--compiler/utils/Outputable.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/utils/Outputable.hs b/compiler/utils/Outputable.hs
index 2bed1d1e4f..86ac85e31f 100644
--- a/compiler/utils/Outputable.hs
+++ b/compiler/utils/Outputable.hs
@@ -160,7 +160,7 @@ data PrintUnqualified = QueryQualify {
-- | given an /original/ name, this function tells you which module
-- name it should be qualified with when printing for the user, if
-- any. For example, given @Control.Exception.catch@, which is in scope
--- as @Exception.catch@, this fuction will return @Just "Exception"@.
+-- as @Exception.catch@, this function will return @Just "Exception"@.
-- Note that the return value is a ModuleName, not a Module, because
-- in source code, names are qualified by ModuleNames.
type QueryQualifyName = Module -> OccName -> QualifyName