[GHC] #1476: Template Haskell: splicing types and patterns
GHC
ghc-devs at haskell.org
Fri Nov 21 16:18:17 UTC 2014
#1476: Template Haskell: splicing types and patterns
-------------------------------------+-------------------------------------
Reporter: igloo | Owner:
Type: bug | Status: patch
Priority: low | Milestone: 7.10.1
Component: Template | Version: 6.6.1
Haskell | Keywords:
Resolution: | Architecture: Unknown/Multiple
Operating System: | Difficulty: Unknown
Unknown/Multiple | Blocked By:
Type of failure: | Related Tickets:
None/Unknown |
Test Case: |
Blocking: |
Differential Revisions: Phab:D433 |
-------------------------------------+-------------------------------------
Comment (by Richard Eisenberg <eir@…>):
In [changeset:"2346de44330a4309b840e26ddd1ded23f92c6f81/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="2346de44330a4309b840e26ddd1ded23f92c6f81"
Fix #1476 by making splice patterns work.
Unfortunately, splice patterns in brackets still do not work
because we don't run splices in brackets. Without running a pattern
splice, we can't know what variables it binds, so we're stuck.
This is still a substantial improvement, and it may be the best
we can do. Still must document new behavior.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/1476#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list