I am new to Hakell and is getting Following error when i am trying to execute the program.
Parse error in pattern: putStrLn
Possibly caused by a missing 'do'?
import Data.List
import System.IO
main=do
putStrLn"Enter your name"
name<-getLine
putStrLn("m, "++name)