[commit: ghc] wip/GenericsMetaData2: Use TypeLits in the meta-data encoding of GHC.Generics (84a5fda)
git at git.haskell.org
git at git.haskell.org
Tue Nov 18 13:45:25 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/GenericsMetaData2
Link : http://ghc.haskell.org/trac/ghc/changeset/84a5fda68f323b3fc639260af7b0b960f0be9644/ghc
>---------------------------------------------------------------
commit 84a5fda68f323b3fc639260af7b0b960f0be9644
Author: Jose Pedro Magalhaes <jpm at cs.ox.ac.uk>
Date: Thu Oct 2 08:38:05 2014 +0100
Use TypeLits in the meta-data encoding of GHC.Generics
The following wiki page contains more information about this:
https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/GenericDeriving#Amoreconservativefirstapproachtothisproblem
>---------------------------------------------------------------
84a5fda68f323b3fc639260af7b0b960f0be9644
compiler/prelude/PrelNames.lhs | 59 ++--
compiler/typecheck/TcDeriv.lhs | 64 +----
compiler/typecheck/TcGenDeriv.lhs | 18 +-
compiler/typecheck/TcGenGenerics.lhs | 304 +++++---------------
docs/users_guide/glasgow_exts.xml | 30 +-
libraries/base/GHC/Generics.hs | 324 ++++++++++++----------
nofib | 2 +-
testsuite/tests/generics/GShow/GShow.hs | 4 +-
testsuite/tests/generics/GenDerivOutput.stderr | 120 ++++----
testsuite/tests/generics/GenDerivOutput1_0.stderr | 48 ++--
testsuite/tests/generics/GenDerivOutput1_1.stderr | 254 ++++++++---------
11 files changed, 509 insertions(+), 718 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 84a5fda68f323b3fc639260af7b0b960f0be9644
More information about the ghc-commits
mailing list