polysemy-zoo-0.8.1.0: Experimental, user-contributed effects and interpreters for polysemy
Safe HaskellNone
LanguageHaskell2010

Polysemy.SetStore

Documentation

data SetStore k v m a where Source #

Constructors

AddS :: k -> v -> SetStore k v m () 
DelS :: k -> v -> SetStore k v m () 
MemberS :: k -> v -> SetStore k v m Bool 

memberS :: forall k v r. Member (SetStore k v) r => k -> v -> Sem r Bool Source #

delS :: forall k v r. Member (SetStore k v) r => k -> v -> Sem r () Source #

addS :: forall k v r. Member (SetStore k v) r => k -> v -> Sem r () Source #

runSetStoreAsKVStore :: (Member (KVStore k (Set v)) r, Ord v) => Sem (SetStore k v ': r) x -> Sem r x Source #