A Study of Cloud Haskell With Applications to MapReduce