"Johan Tibell" <[EMAIL PROTECTED]> writes:
> Duncan's recommendation of just taking the part after the last dot
> seems like a good rule of thumb. Doing
>
> import qualified Data.Map as M
>
> does gain you much in my opinion. Compare M.empty to emptyM. No
> difference, you still can't deduce the module by just looking at the
> call site.
I would prefer `M.empty' to `emptyM'. At least, by looking
at `M.empty', you know that this `empty' is from `M' and you
can easily check out what `M' is from the import list. I
personally always found myself unproductively tracing back
something like `emptyM' to its origin.
>
>
> Cheers,
>
> Johan
--
c/* __o/*
<\ * (__
*/\ <
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe