maeder at tzi.de
Thu Nov 10 06:35:03 EST 2005
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? Not really, since I know there are only
types in signatures.
P.S. your insert1 implementation is what I would do, too, if I only
needed such a function. I wouldn't define insertWith in terms of
More information about the Libraries