Re: [Haskell-beginners] help me with eroor
15 Oct
2011
15 Oct
'11
4:49 a.m.
namratha@ubuntu:~/Desktop$ runghc Main.hs
<interactive>:1:32: Not in scope: `main'
On Fri, Oct 14, 2011 at 2:45 PM, kolli kolli
I am using ubuntu..i am running it in the terminal window....
On Fri, Oct 14, 2011 at 2:36 PM, Daniel Fischer < daniel.is.fischer@googlemail.com> wrote:
On Friday 14 October 2011, 22:26:45, you wrote:
i gave module Main(csvFile, line) where import Text.ParserCombinators.Parsec
csvFile = endBy line eol line = sepBy cell (char ',') cell = many (noneOf ",\n") eol = char '\n'
parseCSV :: String -> Either ParseError [[String]] parseCSV input = parse csvFile "(unknown)" input
its giving me the same error
Did you try to run main from the ghci prompt? The file loads without problems here.
5152
Age (days ago)
5152
Last active (days ago)
1 comments
2 participants
participants (2)
-
Daniel Fischer -
kolli kolli