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

git at git.haskell.org git at git.haskell.org
Sat Sep 26 21:52:13 UTC 2015


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

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

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

commit 158a5b5435dfc2aa7daee2b2c9c392d3e14bf60c
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.


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

158a5b5435dfc2aa7daee2b2c9c392d3e14bf60c
 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 158a5b5435dfc2aa7daee2b2c9c392d3e14bf60c


More information about the ghc-commits mailing list