On Friday 14 October 2011, 22:49:04, kolli kolli wrote: > namratha at ubuntu:~/Desktop$ runghc Main.hs > > <interactive>:1:32: Not in scope: `main' Yes, runghc needs a main function. Load the file in ghci to try out normal functions.