On 11/8/06, Max Vasin <[EMAIL PROTECTED]> wrote:
Peter> thanks. i am aware of trace, but the potentially messed up
Peter> execution order makes it very hard for me to get useful
Peter> information out of the resulting trace. besides, IO will
Peter> scale to more elaborate logging mechanisms later on...
If all you want from IO is logging why not just use MonadWriter?
good question. my initial idea, being lazy, was that IO provides
IORefs which might prove useful later on, but then i guess that a
cleanly composed monad will behave better in the long term anyways.
i have to add that this is my first large haskell project and i do
many design decisions on a trial'n'error basis - naturally with a
strong tendency to the error side. ;-)
-- peter
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe