Fix typo; spotted by Bdh in #ghc
authorIan Lynagh <igloo@earth.li>
Sat, 29 Mar 2008 16:53:03 +0000 (16:53 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 29 Mar 2008 16:53:03 +0000 (16:53 +0000)
compiler/rename/RnPat.lhs

index 9d3dc04..2edb72d 100644 (file)
@@ -612,6 +612,6 @@ bogusCharError c
   = ptext SLIT("character literal out of range: '\\") <> char c  <> char '\''
 
 badViewPat pat = vcat [ptext SLIT("Illegal view pattern: ") <+> ppr pat,
-                       ptext SLIT("Use -XViewPatterns to enalbe view patterns")]
+                       ptext SLIT("Use -XViewPatterns to enable view patterns")]
 
 \end{code}