Am Samstag, 24. April 2004 09:23 schrieb [EMAIL PROTECTED]:
> Hello,
>
> Why does this fail?
>
> ==========================
> import System.Posix
>
> test = Temp.mkstemp
> ==========================
>
> Are the libraries hierarchical in name only?
>
> Thanks,
>
> James
Use
import System.Posix.Temp
test = mkstemp
instead.
The hierarchical module system was a later addition to the Haskell 98 standard
which was designed to not cause modifications of large parts of the standard
but only minor changes instead.
The hierarchical module system just allows the dot (".") to be part of module
identifiers. The hierarchy of the modules is reflected in the directory
structure of the source code (and I think that this is already not demanded
by the specification). Nothing more, AFAIK.
Wolfgang
_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe