added snippets for scala, go, haskell and ruby