[commit: ghc] wip/T8598: Rename topDmdType to nopDmdType (f64cf13)

git at git.haskell.org git at git.haskell.org
Mon Dec 9 16:09:37 UTC 2013


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

On branch  : wip/T8598
Link       : http://ghc.haskell.org/trac/ghc/changeset/f64cf134336820cc98fa45578400d9c9606fa8dc/ghc

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

commit f64cf134336820cc98fa45578400d9c9606fa8dc
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Mon Dec 9 14:36:25 2013 +0000

    Rename topDmdType to nopDmdType
    
    because topDmdType is ''not'' the top of the lattice, as it puts an
    implicit absent demand on free variables, but Abs is the bottom of the
    Usage lattice.
    
    Why nopDmdType? Becuase it is the demand of doing nothing: Everything
    lazy, everything absent, no definite divergence.


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

f64cf134336820cc98fa45578400d9c9606fa8dc
 compiler/basicTypes/Demand.lhs |   40 ++++++++++++++++++++++------------------
 compiler/basicTypes/Id.lhs     |    2 +-
 compiler/basicTypes/IdInfo.lhs |    2 +-
 compiler/coreSyn/CoreArity.lhs |    2 +-
 compiler/iface/MkIface.lhs     |    2 +-
 compiler/main/TidyPgm.lhs      |    4 ++--
 compiler/stranal/DmdAnal.lhs   |   10 ++++++----
 7 files changed, 34 insertions(+), 28 deletions(-)

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

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc f64cf134336820cc98fa45578400d9c9606fa8dc


More information about the ghc-commits mailing list