hello I'm starting up using a GHC-compiler and have successfully compiled a simple "Hello World" program. Thanks for the responses. Now I'm trying to use some simple programs from haskell.org/hugs but there are problems. Compilation Dump for: C:/cygnus/usr/local/ghc/lib/hsc C:/TEMP/ghc231.cpp 2>> error -fignore-interface-pragmas -fomit-interface-pragmas -fsimplify [ -fmax-simplifier-iterations4 ] -fwarn-overlapping-patterns -fwarn-missing-methods -fwarn-missing-fields -fwarn-deprecations -fwarn-duplicate-exports -fhi-version=408 -static "-himap=.%.hi:C:/cygnus/usr/local/ghc/lib/imports/std%.hi" "-himap-sep=:" -hifile=C:/TEMP/ghc231.hi -olang=asm -ofile=C:/TEMP/ghc231.s -F=C:/TEMP/ghc231_stb.c -FH=C:/TEMP/ghc231_stb.h +RTS -H6000000 -K1000000 AnsiDemo.hs:10: Variable not in scope: `writeStr' AnsiDemo.hs:11: Variable not in scope: `cls' AnsiDemo.hs:11: Variable not in scope: `at' AnsiDemo.hs:11: Variable not in scope: `highlight' AnsiDemo.hs:11: Variable not in scope: `pressAnyKey' AnsiDemo.hs:11: Variable not in scope: `promptReadAt' AnsiDemo.hs:21: Variable not in scope: `writeAt' AnsiDemo.hs:21: Variable not in scope: `moveTo' AnsiDemo.hs:21: Variable not in scope: `end' Compilation had errors It seems some object are missing. I have tried to find them in ghc/lib/imports and others but haven't succeded. Is there some libraries I need to run these hugs-files on my ghc-compiler? regards Mikael Johansson Volvo Aero Corporation Military Engines Trollhättan Dept. 7164MJ SE-461 81 Trollhättan, Sweden phone +46 520 940 61 e-mail: mikael.mj.johansson@volvo.com
participants (1)
-
Johansson Mikael