[commit: ghc] master: Put the Integer type, rather than the mkIntegerId, inside LitInteger (2ef5cd2)

Ian Lynagh igloo at earth.li
Thu Jun 7 01:06:10 CEST 2012


Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/2ef5cd26db27543ac8664a3d18f45550d0109a8b

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

commit 2ef5cd26db27543ac8664a3d18f45550d0109a8b
Author: Ian Lynagh <igloo at earth.li>
Date:   Wed Jun 6 20:16:48 2012 +0100

    Put the Integer type, rather than the mkIntegerId, inside LitInteger
    
    This will make it possible to write PrelRules that produce an Integer
    result without having Integer arguments.

 compiler/basicTypes/Literal.lhs  |   44 ++++++++++-----------------
 compiler/coreSyn/CorePrep.lhs    |   61 +++++++++++++++++++++++---------------
 compiler/coreSyn/MkCore.lhs      |    4 +-
 compiler/iface/TcIface.lhs       |    8 ++--
 compiler/main/HscMain.hs         |    9 +++--
 compiler/main/TidyPgm.lhs        |   56 ++++++++++++++++++++---------------
 compiler/prelude/PrelRules.lhs   |   16 ++++------
 compiler/simplCore/CoreMonad.lhs |   10 +-----
 compiler/typecheck/TcRnMonad.lhs |    4 ++
 9 files changed, 107 insertions(+), 105 deletions(-)


Diff suppressed because of size. To see it, use:

    git show 2ef5cd26db27543ac8664a3d18f45550d0109a8b



More information about the Cvs-ghc mailing list