On 2004-10-07, John Goerzen <[EMAIL PROTECTED]> wrote:
> This thing is giving me fits.  I need a global variable of sorts for an
> implementation of Syslog.  (Yes, I really do.)

OK, my problem is that I have been looking at the world wrong.

I found what I really needed in Data.IORef.

Which leaves me with an odd curiosity -- I still can't figure out how
state monads are anything but syntactic sugar (and lead more to
spaghetti code at that <g>)

-- John


_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to