Safe Haskell | None |
---|---|
Language | Haskell2010 |
Template Haskell splices for the funflow cache.
Synopsis
- defaultCacher :: Q Exp
- defaultCacherLoc :: Int -> Q Exp
Documentation
defaultCacher :: Q Exp Source #
Create a default cacher with a random identity.
Note that this cacher is deliberately conservative - e.g. if the application is recompiled, the cache will not be reused.
Create a default cacher based on the location of this splice. Note that this may lead to invalid cacheing if the code is changed without the version being updated.