runghc badly broken
Niklas Broberg
niklas.broberg at gmail.com
Mon Apr 18 09:22:56 EDT 2005
Hi all,
I'm trying to use runghc (6.4 release version, redhat linux), but it
appears to be badly broken. It only processes the first argument given
to it, so while
---------------------------
> runghc Foo.hs
hello
with Foo.hs being simply
main = putStrLn "hello"
---------------------------
works just fine, while for instance
---------------------------
> runghc -v1 Foo.hs
Loading package base-1.0 ... linking ... done.
<interactive>:1:78:
Failed to load interface for `Main':
Could not find module `Main':
it is not a module in the current program, or in any known package.
Leaving GHCi.
---------------------------
manages to be 1-verbose but doesn't find the file, and
---------------------------
> runghc Foo.hs -v1
hello
---------------------------
executes the file alright, but forgets verbosity. I can't imagine this
is the intended behavior?
/Niklas
More information about the Glasgow-haskell-users
mailing list