Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data JSONStore o m a where
- JsonEncode :: o -> JSONStore o m ()
- JsonDecode :: JSONStore o m o
- jsonEncode :: forall o r. MemberWithError (JSONStore o) r => o -> Sem r ()
- jsonDecode :: forall o r. MemberWithError (JSONStore o) r => Sem r o
- runJSONStore :: Member (Error EffError) r => Sem (JSONStore Tokens ': r) a -> Sem (ByteStore ': r) a
- configStoreToByteStore :: Member (Error EffError) r => Sem (JSONStore Config ': r) a -> Sem (ByteStore ': r) a
Effect
data JSONStore o m a where Source #
JsonEncode :: o -> JSONStore o m () | |
JsonDecode :: JSONStore o m o |
Instances
type DefiningModule (JSONStore :: Type -> k -> Type -> Type) Source # | |
Defined in Gamgee.Effects.JSONStore |
Actions
jsonEncode :: forall o r. MemberWithError (JSONStore o) r => o -> Sem r () Source #
jsonDecode :: forall o r. MemberWithError (JSONStore o) r => Sem r o Source #