Module System

Johannes Waldmann waldmann at
Wed Feb 22 09:11:15 EST 2006

David Roundy wrote:

> DR> fixed.  jhc's behavior sounds nicer, but I'd rather there were the
> DR> possibility of naming our haskell files whatever we liked.  Currently, as
> DR> far as I can see, we can only do this with Main, and even then there are
> DR> weirdnesses in ghc because Main.hi gets generated.

I don't think this is weird. Java does the same thing:
you can have "class Foo {}" in a file named,
you can compile the file, and you get Foo.class.
-- Johannes Waldmann -- Tel/Fax (0341) 3076 6479/80 --
---- -------

More information about the Haskell-prime mailing list