mysterious directory include error

Simon Marlow simonmar at microsoft.com
Mon Sep 12 07:46:22 EDT 2005


On 20 August 2005 22:41, Frederik Eaton wrote:

> Here is my program:
> 
> #!/usr/bin/runghc -i./foo
> main :: IO ()
> main = do
>     print "hi"
> 
> $ runghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.4
> $ ls foo
> $ ./test.hs
> 
> <interactive>:1:85:
>     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. 
> 
> Let me know if any more information is needed!

Works for me with a 6.4.1 snapshot.

Cheers,
	Simon



More information about the Glasgow-haskell-bugs mailing list