The problem is the indentation and such, as far as I can tell. I just modified the code in Emacs to use proper formatting.
CODE
main = do
putStrLn "What is your name?"
name <- getLine
putStrLn ("Hello, " ++ name ++ ". I think you will really like Haskell!")
The Haskell plugin for VS is old and outdated and virtually worthless. I seriously recommend running through a quick Emacs or Vim tutorial and just slowly learning how to use one of these editors. Either that, or you could try Leksah. I hear people have good experiences with Leksah, though I myself can't get it to compile.
As for a site, haskell.org is a good start. There is a tutorials section with links to tutorials, books, etc. I personally recommend reading Real World Haskell in order to learn Hasekll. It's a very good book, and it's free to read online at
http://book.realworldhaskell.org/read/Good luck.
This post has been edited by Raynes: 28 Oct, 2009 - 12:37 PM