[Haskell-cafe] Re: The danger of Monad ((->) r)
Tomasz Zielonka
tomasz.zielonka at gmail.com
Wed May 16 03:16:40 EDT 2007
On Tue, May 15, 2007 at 06:55:11AM -0700, Conal Elliott wrote:
> You could also use mappend instead of concatStmts and keep the Database ->
> IO () representation. - Conal
You mean using the (Monoid b) => Monoid (a -> b) instance ?
I can see that IO () makes a perfect Monoid, but there doesn't seem to
be a standard instance for that.
Pozdrawiam
Tomek
More information about the Haskell-Cafe
mailing list