[commit: ghc] master: Remove references to () from types of mkWeak# and friends (c6bdf4f)

git at git.haskell.org git at git.haskell.org
Wed Sep 23 09:54:24 UTC 2015


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

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

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

commit c6bdf4fb0b06ac55a7bb200f0ef31ea9a7a830ec
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Fri Sep 18 17:54:22 2015 +0200

    Remove references to () from types of mkWeak# and friends
    
    Previously the types needlessly used (), which is defined ghc-prim,
    leading to unfortunate import cycles. See #10867 for details.
    
    Updates stm submodule.


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

c6bdf4fb0b06ac55a7bb200f0ef31ea9a7a830ec
 compiler/prelude/primops.txt.pp           |  6 +++---
 libraries/base/Control/Concurrent/MVar.hs |  7 +++++--
 libraries/base/Data/IORef.hs              |  7 +++++--
 libraries/base/GHC/Conc/Sync.hs           |  2 +-
 libraries/base/GHC/ForeignPtr.hs          | 16 +++++++++++++---
 libraries/base/GHC/MVar.hs                |  7 +++++--
 libraries/base/GHC/Weak.hs                | 14 +++++++++-----
 libraries/stm                             |  2 +-
 8 files changed, 42 insertions(+), 19 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 c6bdf4fb0b06ac55a7bb200f0ef31ea9a7a830ec


More information about the ghc-commits mailing list