[commit: ghc] master: Tidy up of wired-in names (321b420)

git at git.haskell.org git at git.haskell.org
Wed Dec 13 12:57:21 UTC 2017


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/321b420f4582d103ca7b304867b916a749712e9f/ghc

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

commit 321b420f4582d103ca7b304867b916a749712e9f
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Wed Dec 13 10:49:31 2017 +0000

    Tidy up of wired-in names
    
    Two things here:
    
    * While debugging Trac #14561 I found it hard to understand
      ghcPrimIds and magicIds in MkId.  This patch adds more
      structure and comments.
    
    * I also discovered that ($) no longer needs to be a wiredInId
      because we now have levity polymorphism.  So I took dollarId
      out of MkId; and gave it a levity-polymorphic type in GHC.Base


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

321b420f4582d103ca7b304867b916a749712e9f
 compiler/basicTypes/MkId.hs     | 134 +++++++++++++++++++---------------------
 compiler/prelude/PrelNames.hs   |   9 +--
 libraries/base/GHC/Base.hs      |   9 ++-
 libraries/ghc-prim/GHC/Magic.hs |   4 ++
 4 files changed, 78 insertions(+), 78 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 321b420f4582d103ca7b304867b916a749712e9f


More information about the ghc-commits mailing list