ghc-mod-5.4.0.0: Happy Haskell Programming

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.GhcMod.Caching

Synopsis

Documentation

cached Source

Arguments

:: (Gm m, MonadIO m, Serialize a, Eq d, Serialize 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.