[commit: ghc] wip/pattern-synonyms: Store IfExtNames for PatSyn matchers and wrappers in interface file, and reconstruct PatSyn type from the corresponding matcher function's type. (bbe9e7c)
git at git.haskell.org
git at git.haskell.org
Sun May 25 06:15:24 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/pattern-synonyms
Link : http://ghc.haskell.org/trac/ghc/changeset/bbe9e7c9209f0571411d7fecfc82ed9ebfcc3b8d/ghc
>---------------------------------------------------------------
commit bbe9e7c9209f0571411d7fecfc82ed9ebfcc3b8d
Author: Dr. ERDI Gergo <gergo at erdi.hu>
Date: Fri Apr 18 19:21:37 2014 +0800
Store IfExtNames for PatSyn matchers and wrappers in interface file,
and reconstruct PatSyn type from the corresponding matcher function's
type.
This way, the Ids for the matchers/wrappers are reused by importing
modules, and thus unfoldings are kept.
>---------------------------------------------------------------
bbe9e7c9209f0571411d7fecfc82ed9ebfcc3b8d
compiler/basicTypes/PatSyn.lhs | 83 +++++++++++++++++++++++++++++++--------
compiler/coreSyn/CorePrep.lhs | 1 +
compiler/iface/BuildTyCl.lhs | 83 ++++++++++-----------------------------
compiler/iface/IfaceSyn.lhs | 60 ++++++----------------------
compiler/iface/LoadIface.lhs | 3 +-
compiler/iface/MkIface.lhs | 22 ++++-------
compiler/iface/TcIface.lhs | 47 ++++++----------------
compiler/main/HscTypes.lhs | 20 +++++-----
compiler/main/TidyPgm.lhs | 2 +-
compiler/typecheck/TcPat.lhs | 2 +-
compiler/typecheck/TcPatSyn.lhs | 87 +++++++++--------------------------------
utils/haddock | 2 +-
12 files changed, 155 insertions(+), 257 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 bbe9e7c9209f0571411d7fecfc82ed9ebfcc3b8d
More information about the ghc-commits
mailing list