| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Gamgee.Effects.ByteStore
Synopsis
- data ByteStore m a where
- ReadByteStore :: ByteStore m (Maybe LByteString)
- WriteByteStore :: LByteString -> ByteStore m ()
- readByteStore :: forall r. MemberWithError ByteStore r => Sem r (Maybe LByteString)
- writeByteStore :: forall r. MemberWithError ByteStore r => LByteString -> Sem r ()
Effect
data ByteStore m a where Source #
Constructors
| ReadByteStore :: ByteStore m (Maybe LByteString) | |
| WriteByteStore :: LByteString -> ByteStore m () |
Instances
| type DefiningModule (ByteStore :: k -> Type -> Type) Source # | |
Defined in Gamgee.Effects.ByteStore | |
Actions
readByteStore :: forall r. MemberWithError ByteStore r => Sem r (Maybe LByteString) Source #
writeByteStore :: forall r. MemberWithError ByteStore r => LByteString -> Sem r () Source #