[commit: ghc] cardinality: a typo in comments fixed (1a9b218)

Ilya Sergey ilya.sergey at cs.kuleuven.be
Sat Sep 29 18:51:39 CEST 2012


Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : cardinality

http://hackage.haskell.org/trac/ghc/changeset/1a9b2189e503579a1fade0afdf6e111071099d57

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

commit 1a9b2189e503579a1fade0afdf6e111071099d57
Author: Ilya Sergey <Ilya.Sergey at cs.kuleuven.be>
Date:   Sat Sep 29 18:51:33 2012 +0200

    a typo in comments fixed

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

 compiler/stranal/DmdAnal.lhs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/compiler/stranal/DmdAnal.lhs b/compiler/stranal/DmdAnal.lhs
index 90536e7..f9848fc 100644
--- a/compiler/stranal/DmdAnal.lhs
+++ b/compiler/stranal/DmdAnal.lhs
@@ -466,7 +466,7 @@ g f = let x = 100
 One can see that |h| is called just once, therefore the RHS of h can
 be annotated as a one-shot lambda. This is done by the function
 annotate_rhs_lambdas *a posteriori*, i.e., basing on the aggregated
-usage demand on |h| from the boye of |let|-expression (which is C1(U))
+usage demand on |h| from the body of |let|-expression (which is C1(U))
 in this case. 
 
 In other words, for locally-bound lambdas we can infer





More information about the Cvs-ghc mailing list