[Haskell-cafe] Dead else branch does influence runtime?
KC
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
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
--
--
Regards,
KC
More information about the Haskell-Cafe
mailing list