[commit: ghc] wip/rwbarton-large-tuple: WIP: Move large tuples to a new module GHC.LargeTuple (83003de)

git at git.haskell.org git at git.haskell.org
Fri Jan 6 16:25:52 UTC 2017


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

On branch  : wip/rwbarton-large-tuple
Link       : http://ghc.haskell.org/trac/ghc/changeset/83003dea51dabee93a27afad95d5aacf57dbd351/ghc

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

commit 83003dea51dabee93a27afad95d5aacf57dbd351
Author: Reid Barton <rwbarton at gmail.com>
Date:   Fri Jan 6 11:23:37 2017 -0500

    WIP: Move large tuples to a new module GHC.LargeTuple
    
    Goal is to avoid reading its interface file for programs that don't use
    large tuples, so we can add instances for large tuples without affecting
    compiler performance in the common case.


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

83003dea51dabee93a27afad95d5aacf57dbd351
 compiler/main/Constants.hs                         |   3 +
 compiler/prelude/PrelNames.hs                      |   3 +-
 compiler/prelude/TysWiredIn.hs                     |   7 +-
 .../GHC/Tuple.hs => base/GHC/LargeTuple.hs}        | 100 ++++++-----
 libraries/base/base.cabal                          |   1 +
 libraries/ghc-prim/GHC/Tuple.hs                    | 200 +--------------------
 6 files changed, 70 insertions(+), 244 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 83003dea51dabee93a27afad95d5aacf57dbd351


More information about the ghc-commits mailing list