Haskell library to make IORef/STRef/TVar usage less verbose