regex-tdfa-0.97.4: Accurate POSIX extended regular expression library

Data.IntMap.EnumMap

Documentation

newtype EnumMap k a Source

Constructors

EnumMap 

Fields

unEnumMap :: IntMap a
 

Instances

Ord k => Functor (EnumMap k) 
Ord k => Foldable (EnumMap k) 
Eq a => Eq (EnumMap k a) 
Ord a => Ord (EnumMap k a) 
Read a => Read (EnumMap k a) 
Show a => Show (EnumMap k a) 
Ord k => Monoid (EnumMap k a) 

(!) :: Enum key => EnumMap key a -> key -> aSource

(\\) :: Enum key => EnumMap key a -> EnumMap key b -> EnumMap key aSource

null :: Enum key => EnumMap key a -> BoolSource

size :: Enum key => EnumMap key a -> IntSource

member :: Enum key => key -> EnumMap key a -> BoolSource

notMember :: Enum key => key -> EnumMap key a -> BoolSource

lookup :: (Enum key, Monad m) => key -> EnumMap key a -> m aSource

findWithDefault :: Enum key => a -> key -> EnumMap key a -> aSource

empty :: Enum key => EnumMap key aSource

singleton :: Enum key => key -> a -> EnumMap key aSource

insert :: Enum key => key -> a -> EnumMap key a -> EnumMap key aSource

insertWith :: Enum key => (a -> a -> a) -> key -> a -> EnumMap key a -> EnumMap key aSource

insertWithKey :: Enum key => (key -> a -> a -> a) -> key -> a -> EnumMap key a -> EnumMap key aSource

insertLookupWithKey :: Enum key => (key -> a -> a -> a) -> key -> a -> EnumMap key a -> (Maybe a, EnumMap key a)Source

delete :: Enum key => key -> EnumMap key a -> EnumMap key aSource

adjust :: Enum key => (a -> a) -> key -> EnumMap key a -> EnumMap key aSource

adjustWithKey :: Enum key => (key -> a -> a) -> key -> EnumMap key a -> EnumMap key aSource

update :: Enum key => (a -> Maybe a) -> key -> EnumMap key a -> EnumMap key aSource

updateWithKey :: Enum key => (key -> a -> Maybe a) -> key -> EnumMap key a -> EnumMap key aSource

updateLookupWithKey :: Enum key => (key -> a -> Maybe a) -> key -> EnumMap key a -> (Maybe a, EnumMap key a)Source

union :: Enum key => EnumMap key a -> EnumMap key a -> EnumMap key aSource

unionWith :: Enum key => (a -> a -> a) -> EnumMap key a -> EnumMap key a -> EnumMap key aSource

unionWithKey :: Enum key => (key -> a -> a -> a) -> EnumMap key a -> EnumMap key a -> EnumMap key aSource

unions :: Enum key => [EnumMap key a] -> EnumMap key aSource

unionsWith :: Enum key => (a -> a -> a) -> [EnumMap key a] -> EnumMap key aSource

difference :: Enum key => EnumMap key a -> EnumMap key b -> EnumMap key aSource

differenceWith :: Enum key => (a -> b -> Maybe a) -> EnumMap key a -> EnumMap key b -> EnumMap key aSource

differenceWithKey :: Enum key => (key -> a -> b -> Maybe a) -> EnumMap key a -> EnumMap key b -> EnumMap key aSource

intersection :: Enum key => EnumMap key a -> EnumMap key b -> EnumMap key aSource

intersectionWith :: Enum key => (a -> b -> a) -> EnumMap key a -> EnumMap key b -> EnumMap key aSource

intersectionWithKey :: Enum key => (key -> a -> b -> a) -> EnumMap key a -> EnumMap key b -> EnumMap key aSource

map :: Enum key => (a -> b) -> EnumMap key a -> EnumMap key bSource

mapWithKey :: Enum key => (key -> a -> b) -> EnumMap key a -> EnumMap key bSource

mapAccum :: Enum key => (a -> b -> (a, c)) -> a -> EnumMap key b -> (a, EnumMap key c)Source

mapAccumWithKey :: Enum key => (a -> key -> b -> (a, c)) -> a -> EnumMap key b -> (a, EnumMap key c)Source

fold :: Enum key => (a -> b -> b) -> b -> EnumMap key a -> bSource

foldWithKey :: Enum key => (key -> a -> b -> b) -> b -> EnumMap key a -> bSource

elems :: Enum key => EnumMap key a -> [a]Source

keys :: Enum key => EnumMap key a -> [key]Source

keysSet :: Enum key => EnumMap key a -> EnumSet keySource

assocs :: Enum key => EnumMap key a -> [(key, a)]Source

toList :: Enum key => EnumMap key a -> [(key, a)]Source

fromList :: Enum key => [(key, a)] -> EnumMap key aSource

fromListWith :: Enum key => (a -> a -> a) -> [(key, a)] -> EnumMap key aSource

fromListWithKey :: Enum key => (key -> a -> a -> a) -> [(key, a)] -> EnumMap key aSource

toAscList :: Enum key => EnumMap key a -> [(key, a)]Source

fromAscList :: Enum key => [(key, a)] -> EnumMap key aSource

fromAscListWith :: Enum key => (a -> a -> a) -> [(key, a)] -> EnumMap key aSource

fromAscListWithKey :: Enum key => (key -> a -> a -> a) -> [(key, a)] -> EnumMap key aSource

fromDistinctAscList :: Enum key => [(key, a)] -> EnumMap key aSource

filter :: Enum key => (a -> Bool) -> EnumMap key a -> EnumMap key aSource

filterWithKey :: Enum key => (key -> a -> Bool) -> EnumMap key a -> EnumMap key aSource

partition :: Enum key => (a -> Bool) -> EnumMap key a -> (EnumMap key a, EnumMap key a)Source

partitionWithKey :: Enum key => (key -> a -> Bool) -> EnumMap key a -> (EnumMap key a, EnumMap key a)Source

mapMaybe :: Enum key => (a -> Maybe b) -> EnumMap key a -> EnumMap key bSource

mapMaybeWithKey :: Enum key => (key -> a -> Maybe b) -> EnumMap key a -> EnumMap key bSource

mapEither :: Enum key => (a -> Either b c) -> EnumMap key a -> (EnumMap key b, EnumMap key c)Source

mapEitherWithKey :: Enum key => (key -> a -> Either b c) -> EnumMap key a -> (EnumMap key b, EnumMap key c)Source

split :: Enum key => key -> EnumMap key a -> (EnumMap key a, EnumMap key a)Source

splitLookup :: Enum key => key -> EnumMap key a -> (EnumMap key a, Maybe a, EnumMap key a)Source

isSubmapOf :: (Enum key, Eq a) => EnumMap key a -> EnumMap key a -> BoolSource

isSubmapOfBy :: Enum key => (a -> b -> Bool) -> EnumMap key a -> EnumMap key b -> BoolSource

isProperSubmapOf :: (Enum key, Eq a) => EnumMap key a -> EnumMap key a -> BoolSource

isProperSubmapOfBy :: Enum key => (a -> b -> Bool) -> EnumMap key a -> EnumMap key b -> BoolSource

showTree :: (Enum key, Show a) => EnumMap key a -> StringSource

showTreeWith :: (Enum key, Show a) => Bool -> Bool -> EnumMap key a -> StringSource