hakyll-3.2.7.1: A static website compiler library

Safe HaskellSafe-Infered

Hakyll.Core.Store

Description

A store for stroing and retreiving items

Synopsis

Documentation

data Store Source

Data structure used for the store

data StoreGet a Source

Result when an item from the store

Instances

Eq a => Eq (StoreGet a) 
Show a => Show (StoreGet a) 

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