Conversion between STRef RealWorld and IORef

Wolfgang Jeltsch g9ks157k at acme.softbase.org
Mon Dec 1 15:56:34 UTC 2014


Hi,

I need to convert values of types STRef RealWorld a to IORef a in order
to attach finalizers to them. For now, I am using GHC.IORef for this. Is
there a better way to achieve what I want?

All the best,
Wolfgang



More information about the Libraries mailing list