[GHC] #8387: View patterns + pattern bindings: finnicky about scoping
GHC
ghc-devs
Wed Oct 2 12:14:26 UTC 2013
#8387: View patterns + pattern bindings: finnicky about scoping
----------------------------------------------+----------------------------
Reporter: tinctorius | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: GHC rejects valid program | Unknown/Multiple
Test Case: | Difficulty: Unknown
Blocking: | Blocked By:
| Related Tickets:
----------------------------------------------+----------------------------
Comment (by simonpj):
I remember this as being very fiddly, so I opted for a simple solution.
It's hard to motivate fancy footwork in the compiler without having some
pretty compelling use-cases that motivate it.
If you (and preferably a bunch of others) have really run up against this
restriction in a big way, please do describe the situation, and why the
workarounds are unsatisfactory.
Simon
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8387#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list