[commit: ghc] wip/T9858-typeable-ben2: Move CallStack back to base (a6e0309)

git at git.haskell.org git at git.haskell.org
Sat Sep 26 21:50:11 UTC 2015


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

On branch  : wip/T9858-typeable-ben2
Link       : http://ghc.haskell.org/trac/ghc/changeset/a6e0309b4a0d383ee6023db41e1fd89bba48a987/ghc

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

commit a6e0309b4a0d383ee6023db41e1fd89bba48a987
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sun Sep 20 08:27:34 2015 +0200

    Move CallStack back to base
    
    CallStack requires tuples, instances of which are defined in GHC.Tuple.
    Unfortunately the D757 change to Typeable deriving means that
    GHC.Tuple must import GHC.Types for the type representation types,
    resulting in a cycle.


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

a6e0309b4a0d383ee6023db41e1fd89bba48a987
 compiler/prelude/PrelNames.hs        |  9 +++--
 libraries/base/GHC/Err.hs            |  3 +-
 libraries/base/GHC/Exception.hs      |  1 +
 libraries/base/GHC/Exception.hs-boot |  3 +-
 libraries/base/GHC/Stack.hsc         |  3 ++
 libraries/base/GHC/Stack/Types.hs    | 72 ++++++++++++++++++++++++++++++++++++
 libraries/base/base.cabal            |  1 +
 libraries/ghc-prim/GHC/Types.hs      | 52 +-------------------------
 8 files changed, 88 insertions(+), 56 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 a6e0309b4a0d383ee6023db41e1fd89bba48a987


More information about the ghc-commits mailing list