purescript/purescript-refs — pull request #2 by MichaelXavier (2014-11-21 22:35:48+00:00)
Title: Add modifyRef that returns a pure value

This is equivalent to the atomicModifyIORef from Haskell