[commit: ghc] master: A little tidying up in the flattener (3d44911)

git at git.haskell.org git at git.haskell.org
Fri Jan 9 11:50:59 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/3d449110fd992dc8ccbeb21f4bf8e522a57c2e22/ghc

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

commit 3d449110fd992dc8ccbeb21f4bf8e522a57c2e22
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Fri Jan 9 11:51:52 2015 +0000

    A little tidying up in the flattener
    
    Particularly, flatten_many was exported, but the caller was not doing
    runFlatten.  Moreover it was always used at nominal role.
    
    This patch makes the API clearer, and more robust


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

3d449110fd992dc8ccbeb21f4bf8e522a57c2e22
 compiler/typecheck/TcCanonical.hs |   7 +-
 compiler/typecheck/TcFlatten.hs   | 293 ++++++++++++++++++++------------------
 compiler/typecheck/TcInteract.hs  |  12 +-
 compiler/typecheck/TcRnTypes.hs   |   6 +-
 4 files changed, 166 insertions(+), 152 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 3d449110fd992dc8ccbeb21f4bf8e522a57c2e22


More information about the ghc-commits mailing list