ghc-mod-5.8.0.0: Happy Haskell Hacking

Safe HaskellNone
LanguageHaskell2010

GhcMod.Caching

Synopsis

Documentation

cached Source #

Arguments

:: (Gm m, MonadIO m, Binary a, Eq d, Binary d, Show d) 
=> FilePath

Directory to prepend to cacheFile

-> Cached m GhcModState d a

Cache descriptor

-> d 
-> m a 

Cache a MonadIO action with proper invalidation.