| License | MIT |
|---|---|
| Stability | experimental |
| Safe Haskell | None |
| Language | Haskell2010 |
Development.Shake.Plus.Extended.Conduit
Description
Utilities for using conduit to store remote caches.
Synopsis
- newtype RemoteJSONLookup = RemoteJSONLookup Text
- addRemoteJSONOracleCache :: (MonadReader r m, MonadRules m) => m (RemoteJSONLookup -> RAction r Value)
Documentation
newtype RemoteJSONLookup Source #
Remote json lookup for an oracle, this should contain a URL as Text.
Constructors
| RemoteJSONLookup Text |
Instances
| Eq RemoteJSONLookup Source # | |
Defined in Development.Shake.Plus.Extended.Conduit Methods (==) :: RemoteJSONLookup -> RemoteJSONLookup -> Bool # (/=) :: RemoteJSONLookup -> RemoteJSONLookup -> Bool # | |
| Show RemoteJSONLookup Source # | |
Defined in Development.Shake.Plus.Extended.Conduit Methods showsPrec :: Int -> RemoteJSONLookup -> ShowS # show :: RemoteJSONLookup -> String # showList :: [RemoteJSONLookup] -> ShowS # | |
| Hashable RemoteJSONLookup Source # | |
Defined in Development.Shake.Plus.Extended.Conduit | |
| Binary RemoteJSONLookup Source # | |
Defined in Development.Shake.Plus.Extended.Conduit Methods put :: RemoteJSONLookup -> Put # get :: Get RemoteJSONLookup # putList :: [RemoteJSONLookup] -> Put # | |
| NFData RemoteJSONLookup Source # | |
Defined in Development.Shake.Plus.Extended.Conduit Methods rnf :: RemoteJSONLookup -> () # | |
| type RuleResult RemoteJSONLookup Source # | |
Defined in Development.Shake.Plus.Extended.Conduit | |
addRemoteJSONOracleCache :: (MonadReader r m, MonadRules m) => m (RemoteJSONLookup -> RAction r Value) Source #
Adds an oracle cache for looking up json from a remote server.