But I still have to use IORef this way.
On Thu, Apr 3, 2008 at 7:08 PM, Alfonso Acosta <[EMAIL PROTECTED]> wrote: > > type MyState a = StateT FilePath IO a > > > > > Is there any way in which I can do without IORef in tabHandler and > > commandLoop (written in red and bold, if you can see)? > > How about keeping the IORef but storing it inside the state? > > type MySate a = StateT (IORef FilePath) IO a > -- Jinwoo Lee Always remember that you are unique. Just like everyone else.
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
