[commit: ghc] master: Un-wire `Integer` type (re #9714) (0e1f0f7)
git at git.haskell.org
git at git.haskell.org
Mon Oct 27 15:51:41 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/0e1f0f7d1682d77c5dbb1d2b36f57037113cf7b4/ghc
>---------------------------------------------------------------
commit 0e1f0f7d1682d77c5dbb1d2b36f57037113cf7b4
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Mon Oct 27 16:44:36 2014 +0100
Un-wire `Integer` type (re #9714)
Integer is currently a wired-in type for integer-gmp. This requires
replicating its inner structure in `TysWiredIn`, which makes it much
harder to change Integer to a more complex representation (as
e.g. needed for implementing #9281)
This commit stops `Integer` being a wired-in type, and makes it
known-key type instead, thereby simplifying code notably.
Reviewed By: austin
Differential Revision: https://phabricator.haskell.org/D351
>---------------------------------------------------------------
0e1f0f7d1682d77c5dbb1d2b36f57037113cf7b4
compiler/coreSyn/CorePrep.lhs | 47 +++++++++++++++++++++++++++--------------
compiler/main/TidyPgm.lhs | 43 ++++++++++++++++++++++---------------
compiler/prelude/PrelNames.lhs | 22 +++++++++++--------
compiler/prelude/TysWiredIn.lhs | 38 ---------------------------------
4 files changed, 70 insertions(+), 80 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 0e1f0f7d1682d77c5dbb1d2b36f57037113cf7b4
More information about the ghc-commits
mailing list