Move CallStack back to base
authorBen Gamari <bgamari.foss@gmail.com>
Fri, 2 Oct 2015 13:50:34 +0000 (15:50 +0200)
committerBen Gamari <ben@smart-cactus.org>
Fri, 2 Oct 2015 14:34:21 +0000 (16:34 +0200)
commit74424346415f4e3a4d888236b3eb993f8aef4c6b
treee1320e90891c2118c0d8792c18d8febca8f8c76b
parent953940850f7f2aaf53d91e882a3216bfcf30c8f5
Move CallStack back to base

CallStack requires tuples, instances of which are defined in GHC.Tuple.
Unfortunately the change made in D757 to the `Typeable` deriving
mechanism means that `GHC.Tuple` must import `GHC.Types` for types
necessary to generate type representations.  This results in a cycle.

Test Plan: Validate

Reviewers: gridaphobe, austin, hvr

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1298
compiler/prelude/PrelNames.hs
libraries/base/GHC/Err.hs
libraries/base/GHC/Exception.hs
libraries/base/GHC/Exception.hs-boot
libraries/base/GHC/Stack.hsc
libraries/base/GHC/Stack/Types.hs [new file with mode: 0644]
libraries/base/base.cabal
libraries/ghc-prim/GHC/Types.hs