Tom Pledger wrote:
> How about using qualified imports of modules?
> [...]
>   module Test where
>   import qualified QL1
>   import QL2
> [...]

You don't even have to use a qualified import for QL1, prefixing the
ambiguous occurrences of up/low is enough (think of a large module QL1
where most names don't clash). This "lazy" disambiguation is one of
the few things of Haskell's module system I really like.

Cheers,
   Sven
-- 
Sven Panne                                        Tel.: +49/89/2178-2235
LMU, Institut fuer Informatik                     FAX : +49/89/2178-2211
LFE Programmier- und Modellierungssprachen              Oettingenstr. 67
mailto:[EMAIL PROTECTED]            D-80538 Muenchen
http://www.informatik.uni-muenchen.de/~Sven.Panne

Reply via email to