summaryrefslogtreecommitdiff
path: root/compiler/parser
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/parser
parentd9d2102ea7f6da1bc3a69fa469b89ea843cb8b02 (diff)
downloadhaskell-7ec6ffc4e8ccf5c24149d9ab34c3619516dc3081.tar.gz
Typos in comments [skip ci]
Diffstat (limited to 'compiler/parser')
-rw-r--r--compiler/parser/Parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/parser/Parser.y b/compiler/parser/Parser.y
index 7518951ac1..1cfe491461 100644
--- a/compiler/parser/Parser.y
+++ b/compiler/parser/Parser.y
@@ -2826,7 +2826,7 @@ oqtycon_no_varcon :: { Located RdrName } -- Type constructor which cannot be mi
{- Note [Type constructors in export list]
~~~~~~~~~~~~~~~~~~~~~
Mixing type constructors and variable constructors in export lists introduces
-ambiguity in grammar: e.g. (*) may be both a type constuctor and a function.
+ambiguity in grammar: e.g. (*) may be both a type constructor and a function.
-XExplicitNamespaces allows to disambiguate by explicitly prefixing type
constructors with 'type' keyword.