
#9429: Alternative to type family Any -------------------------------------+------------------------------------- Reporter: mboes | Owner: Type: feature | Status: new request | Milestone: Priority: normal | Version: 7.9 Component: Compiler | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Unknown Unknown/Multiple | Blocked By: Type of failure: | Related Tickets: 9097, 9380 None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by goldfire): While #9380 is indeed fixed by making `Any` a type family, an alternative fix would be to change the pattern-match pruner to be `Any`-aware. I say this because there is something sensible about allowing `Any` to be a datatype in any open kind. I haven't quite thought it all through, but somehow that might make sense. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9429#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler