[GHC] #8581: Pattern synonym used in an expression context could have different constraints to pattern used in a pattern context
GHC
ghc-devs at haskell.org
Thu Jul 12 15:37:22 UTC 2018
#8581: Pattern synonym used in an expression context could have different
constraints to pattern used in a pattern context
-------------------------------------+-------------------------------------
Reporter: cactus | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version:
Resolution: | Keywords:
| 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: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"471a992ab956fe90d51b875a81d6963592db5553/ghc" 471a992/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="471a992ab956fe90d51b875a81d6963592db5553"
Trac #8581 users_guide/glasgow_exts section 10.7
as per comments on the ticket; also linked to Haskell folk art of 'Smart
constructors'.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8581#comment:55>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list