[commit: ghc] master: Minor fix to Note [Trimming arity] (992040e)

git at git.haskell.org git at git.haskell.org
Mon Mar 23 09:13:08 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/992040e9abbeaffecc4bbe9d9475da69d9427f82/ghc

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

commit 992040e9abbeaffecc4bbe9d9475da69d9427f82
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Mon Mar 23 10:12:34 2015 +0100

    Minor fix to Note [Trimming arity]
    
    [ci skip]


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

992040e9abbeaffecc4bbe9d9475da69d9427f82
 compiler/simplCore/CallArity.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/simplCore/CallArity.hs b/compiler/simplCore/CallArity.hs
index 4a0b8ee..a635f7c 100644
--- a/compiler/simplCore/CallArity.hs
+++ b/compiler/simplCore/CallArity.hs
@@ -377,7 +377,7 @@ the case for Core!
 
  2. Eta-expanding a right hand side might invalidate existing annotations. In
     particular, if an id has a strictness annotation of <...><...>b, then
-    passing one argument to it will definitely bottom out, so the simplifier
+    passing two arguments to it will definitely bottom out, so the simplifier
     will throw away additional parameters. This conflicts with Call Arity! So
     we ensure that we never eta-expand such a value beyond the number of
     arguments mentioned in the strictness signature.



More information about the ghc-commits mailing list