[commit: ghc] cardinality: Lots of refactoring in the demand analyser (bc76c81)

Simon Peyton Jones simonpj at microsoft.com
Tue Mar 12 09:19:45 CET 2013


Repository : http://darcs.haskell.org/ghc.git/

On branch  : cardinality

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

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

commit bc76c81b2705de1b88c0b832b521dde537e05b38
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Mon Mar 11 18:11:31 2013 +0000

    Lots of refactoring in the demand analyser
    
    The main change here is to factor the strictness domain in the
    same way as the usage domain
    
    It took me ALL DAY because I found I had to really dig into
    the code, and it's not easy stuff!  But I think it's looking
    much better now.

 compiler/basicTypes/Demand.lhs | 441 +++++++++++++++++++++++++----------------
 compiler/coreSyn/CorePrep.lhs  |  11 +-
 compiler/stranal/DmdAnal.lhs   | 215 +++++++++-----------
 3 files changed, 368 insertions(+), 299 deletions(-)


Diff suppressed because of size. To see it, use:

    git show bc76c81b2705de1b88c0b832b521dde537e05b38



More information about the ghc-commits mailing list