Updated for Haskell Platform 2014.2.