One thing that has always confused me is whether or not it\'s an okay time to use an IORef. Are there any guidelines that should be followed when deciding whether or not to use
I use STRef when the state is localized and do not require interaction with the environment.
STRef