funflow-1.5.0: Workflows with arrows

Safe HaskellNone
LanguageHaskell2010

Control.Funflow.Cache.TH

Contents

Description

Template Haskell splices for the funflow cache.

Synopsis

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.

defaultCacherLoc Source #

Arguments

:: Int

Version

-> Q Exp 

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.

Orphan instances

Hashable Loc Source # 
Instance details

Methods

hashWithSalt :: Int -> Loc -> Int #

hash :: Loc -> Int #