Some extension for haskell mode