[Haskell-cafe] Hierarchical Library

Wolfgang Jeltsch wolfgang at jeltsch.net
Sat Apr 24 11:45:08 EDT 2004

Am Samstag, 24. April 2004 10:40 schrieb Wolfgang Jeltsch:
> [...]

> Use
>     import System.Posix.Temp
>     test = mkstemp
> instead.

By the way, you can also use
    import System.Posix.Temp
    test = System.Posix.Temp.mkstemp
    import System.Posix.Temp as Temp
    mkstemp = Temp.mkstemp
    import System.Posix.Temp as PosixTemp
    mkstemp = PosixTemp.mkstemp.
So you *can* qualify function names but the module name you qualify the 
function name with must be a name mentioned after "import" or after "as", 

> [...]


More information about the Haskell-Cafe mailing list