summaryrefslogtreecommitdiff
path: root/compiler/stranal/DmdAnal.hs
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2017-01-23 09:38:15 +0100
committerGabor Greif <ggreif@gmail.com>2017-01-23 11:27:22 +0100
commit80560e69ca40abb2c94c4e9fa322365f558a6a8b (patch)
treeba0122a93709a34daeb4db992651e98f3937dc7e /compiler/stranal/DmdAnal.hs
parent2b64e926a628fb2a3710b0360123ea73331166fe (diff)
downloadhaskell-80560e69ca40abb2c94c4e9fa322365f558a6a8b.tar.gz
Typos and grammar in manual/comments
Diffstat (limited to 'compiler/stranal/DmdAnal.hs')
-rw-r--r--compiler/stranal/DmdAnal.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/stranal/DmdAnal.hs b/compiler/stranal/DmdAnal.hs
index e7887b94db..79ae20f8fb 100644
--- a/compiler/stranal/DmdAnal.hs
+++ b/compiler/stranal/DmdAnal.hs
@@ -1245,7 +1245,7 @@ binders the CPR property. Specifically
MkT x y | y>0 -> ...
| otherwise -> x
Here we don't have the unboxed 'x' available. Hence the
- is_var_scrut test when making use of the strictness annoatation.
+ is_var_scrut test when making use of the strictness annotation.
Slightly ad-hoc, because even if the scrutinee *is* a variable it
might not be a onre of the arguments to the original function, or a
sub-component thereof. But it's simple, and nothing terrible