
#8779: Exhaustiveness checks for pattern synonyms -------------------------------------+------------------------------------- Reporter: nomeata | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler (Type | Version: 7.8.1 checker) | Keywords: Resolution: | 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 dfeuer): Replying to [comment:22 Iceland_jack]:
Here's a crazy idea, associate every pattern synonym with a data type (this could also be a new ‘form’ of pattern synonyms).
Yes, sometimes, but when pattern synonyms overlap (e.g., left and right views, with empty), life sucks again. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8779#comment:23 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler