[Haskell-cafe] Dead else branch does influence runtime?
kc1956 at gmail.com
Tue Jun 14 16:42:04 CEST 2011
How is the compiler to know the else branch is never executed at run-time?
If you do, then why is it there in your source code?
On Tue, Jun 14, 2011 at 7:35 AM, Johannes Waldmann
<waldmann at imn.htwk-leipzig.de> wrote:
> Thanks for the analysis.
> So is this a problem that should be fixed in GHC?
> And what can I do to circumvent the problem?
> (Perhaps write some RULES magic?)
> Thanks - J.W.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe