Safe Haskell | None |
---|---|
Language | Haskell2010 |
- cached :: forall m a d. (Gm m, MonadIO m, Serialize a, Eq d, Serialize d, Show d) => FilePath -> Cached m GhcModState d a -> d -> m a
- timeCacheInput :: MonadIO m => FilePath -> FilePath -> [FilePath] -> m TimedCacheFiles
- invalidatingInputFiles :: TimedCacheFiles -> Maybe [FilePath]
- module Language.Haskell.GhcMod.Caching.Types
Documentation
:: (Gm m, MonadIO m, Serialize a, Eq d, Serialize d, Show d) | |
=> FilePath | Directory to prepend to |
-> Cached m GhcModState d a | Cache descriptor |
-> d | |
-> m a |
Cache a MonadIO action with proper invalidation.
timeCacheInput :: MonadIO m => FilePath -> FilePath -> [FilePath] -> m TimedCacheFiles Source