Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
interceptSqlParseCache :: (Members [Embed m, SqlParse] r, MonadIO m, r ~ (SqlParse ': rs)) => IORef MultiRunCache -> Sem r a -> Sem r a #
interceptSqlRenderCache :: (Members [Embed m, SqlRender] r, MonadIO m, r ~ (SqlRender ': rs)) => IORef MultiRunCache -> Sem r a -> Sem r a #
interceptLocalFileCache :: (Members [Embed m, LocalFile] r, MonadIO m, r ~ (LocalFile ': rs)) => IORef SingleRunCache -> Sem r a -> Sem r a #
type SingleRunCache = ResultCache '[LocalFile] #
type MultiRunCache = ResultCache '[SqlParse, SqlRender] #
initSpecCache :: MonadIO m => m SpecCache #
clearSingleCache :: MonadIO m => SpecCache -> m () #