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

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


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

On branch  : cardinality

http://hackage.haskell.org/trac/ghc/changeset/d92aecc03bd1aee7e6a0b62c659c4c93af1927d9

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

commit d92aecc03bd1aee7e6a0b62c659c4c93af1927d9
Author: Ilya Sergey <Ilya.Sergey at cs.kuleuven.be>
Date:   Sat Sep 29 18:52:40 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 ab708eb..5c84ac4 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 body 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