Data.Map API

Henning Thielemann lemming at henning-thielemann.de
Thu Nov 10 06:55:51 EST 2005


On Thu, 10 Nov 2005, Christian Maeder wrote:

> Iavor Diatchki wrote:
> >> import Data.Map (Map); import qualified Data.Map as Map hiding (Map)
> >>
> > PS: How do people import 'Data.Map'?  The above seems clunky...
>
> I only use:
>
> import qualified Data.Map as Map
>
> and write "Map.Map" in signatures, which is also a bit clunky.
>
> Would "Map.Type" be better?

Yes. :-)

> Not really, since I know there are only types in signatures.

But different types ... and classes.



More information about the Libraries mailing list