Data.Map API
Benjamin Franksen
benjamin.franksen at bessy.de
Sat Nov 12 14:02:27 EST 2005
On Saturday 12 November 2005 10:13, Tomasz Zielonka wrote:
> On Sat, Nov 12, 2005 at 02:05:54AM +0100, Benjamin Franksen wrote:
> > Last time I used Data.Map I went for
> >
> > import qualified Data.Map as Map
> > type Map = Map.Map
>
> There is a small problem - you can define type-class instances for
> type synonyms in Haskell 98.
So what?
> What's wrong with this approach, besides being overly verbose:
>
> import qualified Data.Map as Map
> import Data.Map (Map)
Nothing, except being overly verbose ;-)
Ben
More information about the Libraries
mailing list