summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2014-02-01 21:26:23 +0100
committerGabor Greif <ggreif@gmail.com>2014-02-01 21:26:23 +0100
commitd5fb6709df641010fb50bd120abd10257f4691b7 (patch)
tree06ee272eeb8df13ab0c058558bcebe9359da8461 /docs
parent78afa2078e474c9e8fd3d0f347c5652f296d5248 (diff)
downloadhaskell-d5fb6709df641010fb50bd120abd10257f4691b7.tar.gz
Fix a popular typo in comments
Diffstat (limited to 'docs')
-rw-r--r--docs/coding-style.html2
-rw-r--r--docs/storage-mgt/rp.tex2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/coding-style.html b/docs/coding-style.html
index 37aaf8dd46..6be9263d97 100644
--- a/docs/coding-style.html
+++ b/docs/coding-style.html
@@ -324,7 +324,7 @@ can be "polymorphic" as these examples show:
#define PROF_INFO(cl) (((StgClosure*)(cl))->header.profInfo)
// polymorphic case
- // but note that min(min(1,2),3) does 3 comparisions instead of 2!!
+ // but note that min(min(1,2),3) does 3 comparisons instead of 2!!
#define min(x,y) (((x)<=(y)) ? (x) : (y))
</pre>
diff --git a/docs/storage-mgt/rp.tex b/docs/storage-mgt/rp.tex
index 20e313ba43..0d841b9d42 100644
--- a/docs/storage-mgt/rp.tex
+++ b/docs/storage-mgt/rp.tex
@@ -1029,7 +1029,7 @@ execution of retainer profiling.
\label{fig-cacheprof}
\end{figure}
-\section{Comparision with nhc}
+\section{Comparison with nhc}
\section{Files}