[Haskell-cafe] monadic performance

Chad Scherrer chad.scherrer at gmail.com
Mon Oct 30 12:49:36 EST 2006


On 10/28/06, Tomasz Zielonka <tomasz.zielonka at gmail.com> wrote:
> On Fri, Oct 27, 2006 at 06:28:58AM -0700, Chad Scherrer wrote:
> > Should I expect a monadic version to take a performance hit? What if I
> > use some SPECIALIZE pragmas or somesuch? Is it more efficient to write
> > one from scratch, or do specific type annotations give me the same
> > thing anyway?

That's good to hear, thanks!

At this point my biggest concern is whether the strict parts and lazy
parts will play nice. Everything about my data structure is strict,
and thinking about how a Writer monad would interact with that just
makes me confused, so far.

-Chad


More information about the Haskell-Cafe mailing list