[commit: ghc] wip/T9732: Generate two versions of pattern synonym matcher: * one where the continuation is lifted, * one where the continuation is unlifted. (423e9b2)
Simon Peyton Jones
simonpj at microsoft.com
Thu Oct 30 15:45:32 UTC 2014
No no! Let's not do that. It's grotesque to generate identical code twice. We must find a better way.
Simon
| -----Original Message-----
| From: ghc-commits [mailto:ghc-commits-bounces at haskell.org] On Behalf
| Of git at git.haskell.org
| Sent: 30 October 2014 15:40
| To: ghc-commits at haskell.org
| Subject: [commit: ghc] wip/T9732: Generate two versions of pattern
| synonym matcher: * one where the continuation is lifted, * one where
| the continuation is unlifted. (423e9b2)
|
| Repository : ssh://git@git.haskell.org/ghc
|
| On branch : wip/T9732
| Link :
| http://ghc.haskell.org/trac/ghc/changeset/423e9b28930fb9e6dfcd4a20dd60
| 4ec488a2bb1d/ghc
|
| >---------------------------------------------------------------
|
| commit 423e9b28930fb9e6dfcd4a20dd604ec488a2bb1d
| Author: Dr. ERDI Gergo <gergo at erdi.hu>
| Date: Thu Oct 30 23:07:50 2014 +0800
|
| Generate two versions of pattern synonym matcher:
| * one where the continuation is lifted,
| * one where the continuation is unlifted.
|
|
| >---------------------------------------------------------------
|
| 423e9b28930fb9e6dfcd4a20dd604ec488a2bb1d
| compiler/basicTypes/OccName.lhs | 5 +++--
| compiler/basicTypes/PatSyn.lhs | 21 ++++++++++++---------
| compiler/deSugar/DsUtils.lhs | 2 +-
| compiler/iface/BuildTyCl.lhs | 7 ++++---
| compiler/iface/IfaceSyn.lhs | 8 ++++++--
| compiler/iface/MkIface.lhs | 4 +++-
| compiler/iface/TcIface.lhs | 4 +++-
| compiler/typecheck/TcBinds.lhs | 3 ++-
| compiler/typecheck/TcPatSyn.lhs | 28 +++++++++++++++++-----------
| 9 files changed, 51 insertions(+), 31 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
| 423e9b28930fb9e6dfcd4a20dd604ec488a2bb1d
| _______________________________________________
| ghc-commits mailing list
| ghc-commits at haskell.org
| http://www.haskell.org/mailman/listinfo/ghc-commits
More information about the ghc-devs
mailing list