Copyright | (c) 2022 Composewell Technologies |
---|---|
License | BSD-3-Clause |
Maintainer | streamly@composewell.com |
Stability | experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
mapAlterF :: Functor g => (Maybe a -> g (Maybe a)) -> Key f -> f a -> g (f a) Source #
mapLookup :: Key f -> f a -> Maybe a Source #
mapInsert :: Key f -> a -> f a -> f a Source #
mapDelete :: Key f -> f a -> f a Source #
Instances
IsMap IntMap Source # | |
Defined in Streamly.Internal.Data.IsMap mapAlterF :: Functor g => (Maybe a -> g (Maybe a)) -> Key IntMap -> IntMap a -> g (IntMap a) Source # mapLookup :: Key IntMap -> IntMap a -> Maybe a Source # mapInsert :: Key IntMap -> a -> IntMap a -> IntMap a Source # mapDelete :: Key IntMap -> IntMap a -> IntMap a Source # | |
Ord k => IsMap (Map k) Source # | |
Defined in Streamly.Internal.Data.IsMap mapAlterF :: Functor g => (Maybe a -> g (Maybe a)) -> Key (Map k) -> Map k a -> g (Map k a) Source # mapLookup :: Key (Map k) -> Map k a -> Maybe a Source # mapInsert :: Key (Map k) -> a -> Map k a -> Map k a Source # mapDelete :: Key (Map k) -> Map k a -> Map k a Source # |