Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- module Data.Map
- drop :: Int -> Map k v -> Map k v
- take :: Int -> Map k v -> Map k v
- slice :: Ord k => Map k v -> k -> k -> Map k v
- slicei :: Ord k => Map k v -> Int -> Int -> Map k v
- keepKeys :: Ord k => Set k -> Map k a -> Map k a
- dropKeys :: Ord k => Set k -> Map k a -> Map k a
- filterM :: (Ord k, Monad m) => (v -> m Bool) -> Map k v -> m (Map k v)
- transpose :: (Ord a, Ord b) => Lookup2 a b v -> Lookup2 b a v
- scanl1 :: Ord k => (a -> a -> a) -> Lookup k a -> Lookup k a
- scanr1 :: Ord k => (a -> a -> a) -> Lookup k a -> Lookup k a
- groupBy :: Ord b => (a -> b) -> [a] -> Map b [a]
- groupKeysBy :: (Ord a, Ord b) => (a -> b) -> Lookup a v -> Lookup2 b a v
- groupElemsBy :: (Ord a, Ord b) => (v -> b) -> Lookup a v -> Lookup2 b a v
- fromList2 :: (Ord a, Ord b) => [(a, b, v)] -> Lookup2 a b v
- fromLists :: Ord k => [k] -> [v] -> Map k v
- lookup2 :: (Ord a, Ord b) => a -> b -> Lookup2 a b v -> Maybe v
- lookup3 :: (Ord a, Ord b, Ord c) => a -> b -> c -> Lookup3 a b c v -> Maybe v
- lookup4 :: (Ord a, Ord b, Ord c, Ord d) => a -> b -> c -> d -> Lookup4 a b c d v -> Maybe v
- type Lookup ix1 tgt = Map ix1 tgt
- type Lookup2 ix1 ix2 tgt = Map ix1 (Map ix2 tgt)
- type Lookup3 ix1 ix2 ix3 tgt = Map ix1 (Lookup2 ix2 ix3 tgt)
- type Lookup4 ix1 ix2 ix3 ix4 tgt = Lookup2 ix1 ix2 (Lookup2 ix3 ix4 tgt)
Documentation
module Data.Map