HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulehakyll-4.17.0.0Haskell2010

Hakyll.Core.Compiler

Synopsis
  • Packagehakyll-4.17.0.0
  • Exports23
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceInternal.hs
newtypenewtype Compiler a

A monad which lets you compile items and takes care of dependency tracking for you.

Instances7Monad, Functor, MonadFail, Applicative, Alternative, MonadMetadata, …
typetype Snapshot = String

Whilst compiling an item, it possible to save multiple snapshots of it, and not just the final result.

valuecached :: (Binary a, Typeable a) => String -> Compiler a -> Compiler a

Turn on caching for a compilation value to avoid recomputing it on subsequent Hakyll runs. The storage key consists of the underlying identifier of the compiled ressource and the given name.