[commit: ghc] wip/GenericsMetaData2: Use TypeLits in the meta-data encoding of GHC.Generics (ff91dc7)
git at git.haskell.org
git at git.haskell.org
Tue Nov 18 13:56:35 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/GenericsMetaData2
Link : http://ghc.haskell.org/trac/ghc/changeset/ff91dc71f4fffb2cc506e5ab5ce5c6a7bad4d7a4/ghc
>---------------------------------------------------------------
commit ff91dc71f4fffb2cc506e5ab5ce5c6a7bad4d7a4
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
>---------------------------------------------------------------
ff91dc71f4fffb2cc506e5ab5ce5c6a7bad4d7a4
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 ++++++++++++----------
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 ++++++++---------
10 files changed, 508 insertions(+), 717 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 ff91dc71f4fffb2cc506e5ab5ce5c6a7bad4d7a4
More information about the ghc-commits
mailing list