Hoogle Search
Within LTS Haskell 24.64 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
webAppSettingsWithLookup :: FilePath -> ETagLookup -> StaticSettingswai-app-static Network.Wai.Application.Static Same as defaultWebAppSettings, but additionally uses a specialized ETagLookup in place of the standard one. This can allow you to cache your hash values, or even precompute them.
type
ETagLookup = FilePath -> IO Maybe ByteStringwai-app-static WaiAppStatic.Storage.Filesystem How to calculate etags. Can perform filesystem reads on each call, or use some caching mechanism.
webAppSettingsWithLookup :: FilePath -> ETagLookup -> StaticSettingswai-app-static WaiAppStatic.Storage.Filesystem Same as defaultWebAppSettings, but additionally uses a specialized ETagLookup in place of the standard one. This can allow you to cache your hash values, or even precompute them.
ssLookupFile :: StaticSettings -> Pieces -> IO LookupResultwai-app-static WaiAppStatic.Types Lookup a single file or folder. This is how you can control storage backend (filesystem, embedded, etc) and where to lookup.
-
singletons-base Data.List.Singletons No documentation available.
-
singletons-base Prelude.Singletons No documentation available.
-
enummapset Data.EnumMap.Lazy No documentation available.
splitLookup :: Enum k => k -> EnumMap k a -> (EnumMap k a, Maybe a, EnumMap k a)enummapset Data.EnumMap.Lazy No documentation available.
updateLookupWithKey :: Enum k => (k -> a -> Maybe a) -> k -> EnumMap k a -> (Maybe a, EnumMap k a)enummapset Data.EnumMap.Lazy No documentation available.
-
enummapset Data.EnumMap.Strict No documentation available.