Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data DBVersions = DBVersions {}
- initDBVersions :: IO DBVersions
- data DB
- initDB :: IO DB
- evalStoreEffs :: Members [Embed IO, Reader DBVersions, Reader DB] r => forall a. Sem (StoreEffs :& r) a -> Sem r a
- evalRead :: Member (Embed IO) r => DB -> IORef Version -> forall a. Sem (ReadStore ': r) a -> Sem r a
- evalWrite :: Member (Embed IO) r => DB -> forall a. Sem (WriteStore ': r) a -> Sem r a