Multiple modules in a file
Alastair Reid
reid@cs.utah.edu
Mon, 2 Apr 2001 12:40:09 -0600
> I don't seem to be able have multiple modules in one file (at least
> for hugs and ghc).
As far as I know, the only compiler that ever supported this was the
Yale compiler (which is no longer maintained and probably hard to track
down).
The current trend is to put each module in a file by itself and, to make life
easier for Hugs import chasing or for automatic generation of Makefile dependencies,
to make the filename match the module name.
--
Alastair Reid