Re: [Haskell-cafe] instance Monad AppF - Faster than the list monad?

2007-05-25 Thread Donald Bruce Stewart
greenrd: > The following Haskell 98 module implements a generalisation of > Prelude.ShowS for any type. Should be pretty easy to incorporate this > into code which currently uses the list monad non-trivially, and get > better performance - but can this be right? Surely someone would have > publishe

[Haskell-cafe] instance Monad AppF - Faster than the list monad?

2007-05-25 Thread Robin Green
The following Haskell 98 module implements a generalisation of Prelude.ShowS for any type. Should be pretty easy to incorporate this into code which currently uses the list monad non-trivially, and get better performance - but can this be right? Surely someone would have published this before if th