diff options
author | Gabor Greif <ggreif@gmail.com> | 2017-01-23 09:38:15 +0100 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2017-01-23 11:27:22 +0100 |
commit | 80560e69ca40abb2c94c4e9fa322365f558a6a8b (patch) | |
tree | ba0122a93709a34daeb4db992651e98f3937dc7e /compiler/stranal/DmdAnal.hs | |
parent | 2b64e926a628fb2a3710b0360123ea73331166fe (diff) | |
download | haskell-80560e69ca40abb2c94c4e9fa322365f558a6a8b.tar.gz |
Typos and grammar in manual/comments
Diffstat (limited to 'compiler/stranal/DmdAnal.hs')
-rw-r--r-- | compiler/stranal/DmdAnal.hs | 2 |
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 |