Add structured haskell mode