hakyll-3.2.7.1: A static website compiler library
Hakyll.Core.Store
Description
A store for stroing and retreiving items
Synopsis
data Store Source
Data structure used for the store
data StoreGet a Source
Result when an item from the store
Constructors
Instances
makeStore :: FilePath -> IO StoreSource
Initialize the store
storeSet :: (Binary a, Typeable a) => Store -> String -> Identifier a -> a -> IO ()Source
Store an item
storeGet :: forall a. (Binary a, Typeable a) => Store -> String -> Identifier a -> IO (StoreGet a)Source
Load an item