[Haskell] IORef sharing