fixed up haskell mode