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 |
Control.Effect.Interpreter.Heftia.KVStore
Description
This module provides handlers for the KVStore
effect, comes
from Polysemy.KVStore
in the polysemy-kvstore
package.
Documentation
runKVStorePure :: forall k v r a fr u c. (Ord k, Freer c fr, Union u, HFunctor (u '[]), Member u (State (Map k v)) (LState (Map k v) ': r), c (Eff u fr '[] r), c (StateT (Map k v) (Eff u fr '[] r)), Monad (Eff u fr '[] r), Monad (Eff u fr '[] (LState (Map k v) ': r))) => Map k v -> Eff u fr '[] (LKVStore k v ': r) a -> Eff u fr '[] r (Map k v, a) Source #