[EMAIL PROTECTED] wrote:
I think your installation is just buggy. I ran it here, and it compiles fine (although it doesn't run, as
Linux obviously has "d:/app/ghc-6.8.2") and runs, printing "4" if I replace the string
with "/usr/lib/ghc-6.8.2". Could it be that your GHCi is not the 6.8.2 one, or your path incorrect?
Interesting... But I don't see what could be wrong with my installation.
I just downloaded and installed the binary installer from the Internet.
I did have to expose the package ghc before GHCi could compile my code.
I also just tried a clean install of GHC-6.8.2 on a brand new Windows XP
SP2 system (that never had any GHC nor GCC nor MINGW installed before),
but that also gives the same error.
So I guess it runs fine on Linux (as you tested), but not on Windows?
Thanks,
Peter
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe