added some snippets for Haskell