hakyll-4.16.0.0: A static website compiler library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hakyll.Core.Writable

Description

Describes writable items; items that can be saved to the disk

Synopsis

Documentation

class Writable a where Source #

Describes an item that can be saved to the disk

Methods

write :: FilePath -> Item a -> IO () Source #

Save an item to the given filepath

Instances

Instances details
Writable Html Source # 
Instance details

Defined in Hakyll.Core.Writable

Methods

write :: FilePath -> Item Html -> IO () Source #

Writable ByteString Source # 
Instance details

Defined in Hakyll.Core.Writable

Methods

write :: FilePath -> Item ByteString -> IO () Source #

Writable ByteString Source # 
Instance details

Defined in Hakyll.Core.Writable

Methods

write :: FilePath -> Item ByteString -> IO () Source #

Writable CopyFile Source # 
Instance details

Defined in Hakyll.Core.File

Methods

write :: FilePath -> Item CopyFile -> IO () Source #

Writable TmpFile Source # 
Instance details

Defined in Hakyll.Core.File

Methods

write :: FilePath -> Item TmpFile -> IO () Source #

Writable Biblio Source # 
Instance details

Defined in Hakyll.Web.Pandoc.Biblio

Methods

write :: FilePath -> Item Biblio -> IO () Source #

Writable CSL Source # 
Instance details

Defined in Hakyll.Web.Pandoc.Biblio

Methods

write :: FilePath -> Item CSL -> IO () Source #

Writable Redirect Source # 
Instance details

Defined in Hakyll.Web.Redirect

Methods

write :: FilePath -> Item Redirect -> IO () Source #

Writable Template Source # 
Instance details

Defined in Hakyll.Web.Template.Internal

Methods

write :: FilePath -> Item Template -> IO () Source #

Writable () Source # 
Instance details

Defined in Hakyll.Core.Writable

Methods

write :: FilePath -> Item () -> IO () Source #

Writable [Word8] Source # 
Instance details

Defined in Hakyll.Core.Writable

Methods

write :: FilePath -> Item [Word8] -> IO () Source #

Writable [Char] Source # 
Instance details

Defined in Hakyll.Core.Writable

Methods

write :: FilePath -> Item [Char] -> IO () Source #