[GHC] #11350: Allow visible type application in patterns
GHC
ghc-devs at haskell.org
Sun Jan 10 16:10:21 UTC 2016
#11350: Allow visible type application in patterns
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.1
Resolution: | Keywords:
| TypeApplications PatternSynonyms
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by adamgundry):
* cc: adamgundry (added)
Comment:
Yes, this is a good idea. It would give a much nicer way to bind
(particularly existential) type variables than the current
`ScopedTypeVariables` hack. I think typecase should be treated separately
though, and with lower priority (cf. #11387).
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11350#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list