[commit: ghc] master: Add Type.tyConAppTyCon_maybe and tyConAppArgs_maybe, and use them (1bcd32b)
Simon Peyton Jones
simonpj at microsoft.com
Wed Aug 3 17:23:32 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/1bcd32b8e0f252d3b830c961184dab9d8b61dba9
>---------------------------------------------------------------
commit 1bcd32b8e0f252d3b830c961184dab9d8b61dba9
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Wed Aug 3 16:14:26 2011 +0100
Add Type.tyConAppTyCon_maybe and tyConAppArgs_maybe, and use them
These turn out to be a useful special case of splitTyConApp_maybe.
A refactoring only; no change in behaviour
compiler/basicTypes/Id.lhs | 6 +++---
compiler/codeGen/ClosureInfo.lhs | 6 +++---
compiler/codeGen/StgCmmClosure.hs | 6 +++---
compiler/coreSyn/CoreLint.lhs | 13 ++++++-------
compiler/deSugar/DsCCall.lhs | 10 +++++-----
compiler/deSugar/DsForeign.lhs | 4 ++--
compiler/ghci/ByteCodeGen.lhs | 6 +++---
compiler/specialise/SpecConstr.lhs | 6 +++---
compiler/stgSyn/CoreToStg.lhs | 16 ++++++++--------
compiler/stgSyn/StgLint.lhs | 8 ++++----
compiler/stranal/DmdAnal.lhs | 4 ++--
compiler/stranal/WwLib.lhs | 2 +-
compiler/typecheck/TcType.lhs | 3 ++-
compiler/types/Coercion.lhs | 2 +-
compiler/types/Type.lhs | 26 ++++++++++++++++++++------
15 files changed, 66 insertions(+), 52 deletions(-)
Diff suppressed because of size. To see it, use:
git show 1bcd32b8e0f252d3b830c961184dab9d8b61dba9
More information about the Cvs-ghc
mailing list