[Haskell-cafe] Speed of Error handling with Continuations vs.
Eithers
Henning Thielemann
lemming at henning-thielemann.de
Fri May 14 05:46:57 EDT 2010
On Mon, 10 May 2010, Max Cantor wrote:
> Based on some discussions in #haskell, it seemed to be a consensus that
> using a modified continuation monad for Error handling instead of
> Eithers would be a significant optimization since it would eliminate a
> lot of conditional branching (everytime >>= is called in the Either
> monad, there is a conditional.
I assumed that GHC also has optimizations for conditional branching.
More information about the Haskell-Cafe
mailing list