michael rice wrote:
> Gotcha. Thanks!
> 
> Also wondering why I need two imports for one module.

This is not strictly necessary, but the scoping also applies to the type
'Map' itself, thus leaving the
import Data.Map (Map)
(this brings only the name "Map" in scope from module Data.Map) out
would force you to write Data.Map.Map everywhere instead of just 'Map'.

Regards,

-- 
Jochem Berndsen | [email protected]
GPG: 0xE6FABFAB
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to