
#12428: Allow pattern synonyms to optionally carry coerceability -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: Type: feature request | Status: new Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 8.0.1 Resolution: | Keywords: 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 dfeuer): Replying to [comment:6 simonpj]:
Also there's a problem with {{{ pattern Foo a = Foo (Bar a) }}} because it looks recursive.
That was just a mistake. Rename the new constructor `NewFoo` or something. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12428#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler