Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Instances
Foldable (EnumMap k) Source # | |
Defined in Unison.Util.EnumContainers fold :: Monoid m => EnumMap k m -> m # foldMap :: Monoid m => (a -> m) -> EnumMap k a -> m # foldMap' :: Monoid m => (a -> m) -> EnumMap k a -> m # foldr :: (a -> b -> b) -> b -> EnumMap k a -> b # foldr' :: (a -> b -> b) -> b -> EnumMap k a -> b # foldl :: (b -> a -> b) -> b -> EnumMap k a -> b # foldl' :: (b -> a -> b) -> b -> EnumMap k a -> b # foldr1 :: (a -> a -> a) -> EnumMap k a -> a # foldl1 :: (a -> a -> a) -> EnumMap k a -> a # toList :: EnumMap k a -> [a] # length :: EnumMap k a -> Int # elem :: Eq a => a -> EnumMap k a -> Bool # maximum :: Ord a => EnumMap k a -> a # minimum :: Ord a => EnumMap k a -> a # | |
Eq1 (EnumMap k) Source # | |
Ord1 (EnumMap k) Source # | |
Defined in Unison.Util.EnumContainers | |
Traversable (EnumMap k) Source # | |
Defined in Unison.Util.EnumContainers | |
Functor (EnumMap k) Source # | |
Monoid (EnumMap k a) Source # | |
Semigroup (EnumMap k a) Source # | |
Show a => Show (EnumMap k a) Source # | |
Eq a => Eq (EnumMap k a) Source # | |
Ord a => Ord (EnumMap k a) Source # | |
Defined in Unison.Util.EnumContainers |
mapFromList :: EnumKey k => [(k, a)] -> EnumMap k a Source #
setFromList :: EnumKey k => [k] -> EnumSet k Source #
mapSingleton :: EnumKey k => k -> a -> EnumMap k a Source #
setSingleton :: EnumKey k => k -> EnumSet k Source #
lookupWithDefault :: EnumKey k => a -> k -> EnumMap k a -> a Source #
interverse :: Applicative f => (a -> b -> f c) -> EnumMap k a -> EnumMap k b -> f (EnumMap k c) Source #
traverseSet_ :: Applicative f => EnumKey k => (k -> f ()) -> EnumSet k -> f () Source #
traverseWithKey :: Applicative f => EnumKey k => (k -> a -> f b) -> EnumMap k a -> f (EnumMap k b) Source #