[commit: ghc] wip/T8598: Rename topDmdType to nopDmdType (412c483)
git at git.haskell.org
git at git.haskell.org
Mon Dec 9 14:52:57 UTC 2013
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T8598
Link : http://ghc.haskell.org/trac/ghc/changeset/412c48383d16bcb5db80094a1df05466c7af2c99/ghc
>---------------------------------------------------------------
commit 412c48383d16bcb5db80094a1df05466c7af2c99
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.
>---------------------------------------------------------------
412c48383d16bcb5db80094a1df05466c7af2c99
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 412c48383d16bcb5db80094a1df05466c7af2c99
More information about the ghc-commits
mailing list