Copyright | (c) 2024 Yamada Ryo |
---|---|
License | MPL-2.0 (see the file LICENSE) |
Maintainer | ymdfield@outlook.jp |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Data.Effect.KVStore
Description
This module provides the KVStore
effect, comes
from Polysemy.KVStore
in the polysemy-kvstore
package.
Documentation
updateKV'' :: forall key (k :: Type) (v :: Type) f. SendInsBy key (KVStore k v) f => k -> Maybe v -> f () Source #
updateKV' :: forall tag (k :: Type) (v :: Type) f. SendIns (Tag (KVStore k v) tag) f => k -> Maybe v -> f () Source #
updateKV :: forall (k :: Type) (v :: Type) f. SendIns (KVStore k v) f => k -> Maybe v -> f () Source #
lookupKV'' :: forall key (k :: Type) (v :: Type) f. SendInsBy key (KVStore k v) f => k -> f (Maybe v) Source #