Removed Haskell code generator uses. Updated codebase for ghc7.8.