Updated haskell snippets