On Wed, Jul 9, 2008 at 10:01 AM, Neil Mitchell <[EMAIL PROTECTED]> wrote: > It seems that the qualified import syntax is a bit awkward. At the > moment, its common to see: > > import qualified Data.Map as M > import Data.Map(Map) > > i.e. import a module, give it an alias (M), and put some things in the > current namespace (Map).
Incidentally, I sometimes find myself writing this: import Data.Map (Map) ; import qualified Data.Map as M It's not perfect, but at least it lines up with my other imports a little better. Stuart _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
