developer at imaginando.net
Thu May 18 08:33:58 EDT 2006
I'm very lame in Haskell and compiling is very new to me.
I have this problem when compilng a program that runs without error:
MACKIE:/Volumes/DADOS/LESI/4 Ano/SSDI lpx$ ghc polish.hs
compilation IS NOT required
/usr/bin/ld: Undefined symbols:
collect2: ld returned 1 exit status
Do i need to add extra parameters to ghc?
I need to know or thing...
I need to obtain the arguments of a haskell program and then treat
those arguments as a list inside the program
And then i want to have that list inside the program.
How can i do that?
For now i have the following code:
main :: IO ()
main = do args <- getArgs
Well, i hope someone can answer me these questions.
More information about the Glasgow-haskell-users