Abstract, parameterized interface to mutable Deques
https://github.com/rrnewton/haskell-lockfree/wiki