[Please mail every answer also to wolfgang@jeltsch.net.] No hierarchical module names with GHC 5?

Simon Marlow simonmar@microsoft.com
Fri, 25 Jan 2002 09:39:55 -0000


> I use GHC 5.00.2 on Solaris 2.6 at the university and am unable to use
> hierarchical module names --- with and without the=20
> -fglasgow-exts switch. GHCi
> notifies me of parse errors on the module name. What is=20
> interesting is that if
> my module with hierarchical name imports a module which=20
> cannot be found GHC
> tells me that it cannot find the latter module instead of=20
> first recognizing that
> the name of the former module is in its opinion illegal and=20
> complaining about
> this. Aren't hierarchical module names supported yet in GHC=20
> 5.00.2? At home with
> GHC 5.02 under Linux everything works fine.
> By the way, I couldn't find anything about hierarchical=20
> module names in the
> documentation.

5.00.2 didn't support hierarchical module names, but 5.02 does have the
extension.  We're not making a lot of noise about it right now because
the full switchover is slated for the 5.04 release, when we'll move all
the libraries over to use the hierarchical module system.

Cheers,
	Simon