butler-0.0.1.0: At your service.
Safe HaskellSafe-Inferred
LanguageGHC2021

Butler.Core.NatMap

Documentation

data NatMap a #

elems :: NatMap a -> STM [a] #

elemsIndex :: NatMap a -> STM [(Natural, a)] #

lookup :: NatMap a -> Natural -> STM (Maybe a) #

delete :: NatMap a -> Natural -> STM () #

nmDelete :: NatMap a -> (a -> Bool) -> STM () #

insert :: NatMap a -> Natural -> a -> STM () #

add :: NatMap a -> a -> STM Natural #

addWithKey :: NatMap a -> (Natural -> STM a) -> STM a #