haskell/primitive — pull request #3 by iand675 (2013-10-29 04:11:52+00:00)
Title: Add strict variants of MutVar modification functions.

While moving from using to IORefs in some code, I found myself missing the strict variants of atomicModifyMutVar and modifyMutVar. I've pretty much imitated how the IORef code implements these operations.