for haskell mode