[Haskell-cafe] Doing without IORef

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Thu Apr 3 21:17:25 EDT 2008


On Apr 3, 2008, at 21:07 , Jinwoo Lee wrote:
> But I still have to use IORef this way.

You can't escape the IORef unless you can convince the library to  
thread your state everywhere that it needs to be modified *and* where  
it needs to be read, without copying it.

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH




More information about the Haskell-Cafe mailing list