summaryrefslogtreecommitdiff
path: root/compiler/prelude
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2014-08-31 16:05:26 +0200
committerHerbert Valerio Riedel <hvr@gnu.org>2014-08-31 16:09:25 +0200
commit737f36823d03a6c9d92f56e3e2433a3961780e13 (patch)
tree251c4655db37e898ac10a31ac37735e0cb1bcd9a /compiler/prelude
parenta8a969ae7a05e408b29961d0a2ea621a16d73d3e (diff)
downloadhaskell-737f36823d03a6c9d92f56e3e2433a3961780e13.tar.gz
`M-x delete-trailing-whitespace` & `M-x untabify`...
...some files more or less recently touched by me [ci skip]
Diffstat (limited to 'compiler/prelude')
-rw-r--r--compiler/prelude/PrelNames.lhs5
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/prelude/PrelNames.lhs b/compiler/prelude/PrelNames.lhs
index 5757ba1234..ed6fa3f791 100644
--- a/compiler/prelude/PrelNames.lhs
+++ b/compiler/prelude/PrelNames.lhs
@@ -81,7 +81,7 @@ This is accomplished through a combination of mechanisms:
This is accomplished through a variety of mechanisms:
- a) The parser recognises them specially and generates an
+ a) The parser recognises them specially and generates an
Exact Name (hence not looked up in the orig-name cache)
b) The known infinite families of names are specially
@@ -137,7 +137,7 @@ import FastString
\begin{code}
allNameStrings :: [String]
-- Infinite list of a,b,c...z, aa, ab, ac, ... etc
-allNameStrings = [ c:cs | cs <- "" : allNameStrings, c <- ['a'..'z'] ]
+allNameStrings = [ c:cs | cs <- "" : allNameStrings, c <- ['a'..'z'] ]
\end{code}
@@ -1898,4 +1898,3 @@ derivableClassKeys
= [ eqClassKey, ordClassKey, enumClassKey, ixClassKey,
boundedClassKey, showClassKey, readClassKey ]
\end{code}
-