[Haskell-beginners] help me with eroor

Daniel Fischer daniel.is.fischer at googlemail.com
Fri Oct 14 23:13:57 CEST 2011


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.




More information about the Beginners mailing list