Copyright | Copyright (C) 2020 Daniel Firth |
---|---|
Maintainer | Daniel Firth <dan.firth@homotopic.tech |
Safe Haskell | None |
Language | Haskell2010 |
License : MIT Stability : experimental
Cache utilities in Development.Shake lifted to MonadAction
.
Synopsis
- newCache :: (MonadRules m, MonadReader r m, Eq k, Hashable k) => (k -> RAction r v) -> m (k -> RAction r v)
- newCacheIO :: (MonadIO m, MonadReader r m, Eq k, Hashable k) => (k -> RAction r v) -> m (k -> RAction r v)
Documentation
newCache :: (MonadRules m, MonadReader r m, Eq k, Hashable k) => (k -> RAction r v) -> m (k -> RAction r v) Source #
newCacheIO :: (MonadIO m, MonadReader r m, Eq k, Hashable k) => (k -> RAction r v) -> m (k -> RAction r v) Source #
Lifted version of newCacheIO
using RAction
.