memcached persistent values and structure sharing for Haskell