[commit: ghc] master: Make `UniqDSet` a newtype (5b98a38)

git at git.haskell.org git at git.haskell.org
Tue Nov 13 14:48:00 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/5b98a38a32f2bc8491dc897631be8892919e2143/ghc

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

commit 5b98a38a32f2bc8491dc897631be8892919e2143
Author: Sebastian Graf <sebastian.graf at kit.edu>
Date:   Tue Nov 13 14:54:54 2018 +0100

    Make `UniqDSet` a newtype
    
    Summary:
    This brings the situation of `UniqDSet` in line with `UniqSet`.
    
    @dfeuer said in D3146#92820 that he would do this, but probably
    never got around to it.
    
    Validated locally.
    
    Reviewers: AndreasK, mpickering, bgamari, dfeuer, simonpj
    
    Reviewed By: simonpj
    
    Subscribers: simonpj, rwbarton, carter, dfeuer
    
    GHC Trac Issues: #15879, #13114
    
    Differential Revision: https://phabricator.haskell.org/D5313


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

5b98a38a32f2bc8491dc897631be8892919e2143
 compiler/basicTypes/Module.hs   |  2 +-
 compiler/basicTypes/VarSet.hs   |  8 ++---
 compiler/deSugar/DsArrows.hs    | 23 ++++++------
 compiler/simplCore/SetLevels.hs |  3 +-
 compiler/utils/UniqDFM.hs       |  8 ++++-
 compiler/utils/UniqDSet.hs      | 79 +++++++++++++++++++++++++++--------------
 compiler/utils/UniqFM.hs        |  2 +-
 7 files changed, 79 insertions(+), 46 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 5b98a38a32f2bc8491dc897631be8892919e2143


More information about the ghc-commits mailing list