
#9182: Empty case analysis for function clauses -------------------------------------+------------------------------------ Reporter: dfranke | Owner: Type: feature request | Status: new Priority: low | Milestone: Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by Fuuzetsu): But empty does have one case, where `x = undefined`. You can't pattern match on it but it's there. I imagine that this is in attempt to simulate : ∀ α. ⊥ → α where we use the impossible pattern in empty but that's just not the case in Haskell and even in Agda &c the binding is necessary anyway. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9182#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler