polysemy-zoo-0.7.0.1: Experimental, user-contributed effects and interpreters for polysemy
Polysemy.SetStore
data SetStore k v m a where Source #
Constructors
Defined in Polysemy.SetStore
memberS :: forall k v r. MemberWithError (SetStore k v) r => k -> v -> Sem r Bool Source #
delS :: forall k v r. MemberWithError (SetStore k v) r => k -> v -> Sem r () Source #
addS :: forall k v r. MemberWithError (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 #