Haskell shared memory library