[commit: ghc] master: Typo in comment (3a5c549)

git at git.haskell.org git at git.haskell.org
Tue Apr 29 13:40:17 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/3a5c549ee3ddd10b7c48527539d1e2fac5acb1c2/ghc

>---------------------------------------------------------------

commit 3a5c549ee3ddd10b7c48527539d1e2fac5acb1c2
Author: Gabor Greif <ggreif at gmail.com>
Date:   Tue Apr 29 15:38:29 2014 +0200

    Typo in comment


>---------------------------------------------------------------

3a5c549ee3ddd10b7c48527539d1e2fac5acb1c2
 libraries/base/GHC/Enum.lhs |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/base/GHC/Enum.lhs b/libraries/base/GHC/Enum.lhs
index fe2e6b6..d94e2ec 100644
--- a/libraries/base/GHC/Enum.lhs
+++ b/libraries/base/GHC/Enum.lhs
@@ -705,7 +705,7 @@ enumDeltaToIntegerFB c n x delta lim
 "enumDeltaToInteger1"   [0] forall c n x . enumDeltaToIntegerFB c n x 1 = up_fb c n x 1
  #-}
 -- This rule ensures that in the common case (delta = 1), we do not do the check here,
--- and also that we have the chance to inline up_fb, which would allow the constuctor to be
+-- and also that we have the chance to inline up_fb, which would allow the constructor to be
 -- inlined and good things to happen.
 -- We do not do it for Int this way because hand-tuned code already exists, and
 -- the special case varies more from the general case, due to the issue of overflows.



More information about the ghc-commits mailing list