[commit: ghc] wip/T8598: Rename topDmdType to nopDmdType (972c1d7)
git at git.haskell.org
git at git.haskell.org
Mon Dec 9 14:46:42 UTC 2013
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T8598
Link : http://ghc.haskell.org/trac/ghc/changeset/972c1d7a6808b5a1c96978ed560dedc8d748c704/ghc
>---------------------------------------------------------------
commit 972c1d7a6808b5a1c96978ed560dedc8d748c704
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Mon Dec 9 14:36:25 2013 +0000
Rename topDmdType to nopDmdType
because topDmdType is ''no'' 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.
>---------------------------------------------------------------
972c1d7a6808b5a1c96978ed560dedc8d748c704
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 972c1d7a6808b5a1c96978ed560dedc8d748c704
More information about the ghc-commits
mailing list