hello,
according to the report there should be no connection between modules
and files, and one should be able to have multiple modules in a file,
and even a single module in multiple files. however none of the
implementations
support that, so in effect there is 1-1 correspondence between modules
and files.
the reason for this is that it provides an easy way for the
implementation to find the modules.
-iavor
Andrei de A. Formiga wrote:
Hi,
Is it possible to have more than one module defined
in a single file ? As far as I can tell, the Haskell
Report doesn't prohibit this, but so far my tests with
hugs and ghc indicate they don't accept multi-module
files. Is this standard ? Thanks.
---
[]s, Andrei de A. Formiga
__
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
___
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe
___
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe