hakyll-4.8.3.2: A static website compiler library
Hakyll.Core.Writable
Description
Describes writable items; items that can be saved to the disk
Synopsis
class Writable a where Source #
Describes an item that can be saved to the disk
Minimal complete definition
write
Methods
write :: FilePath -> Item a -> IO () Source #
Save an item to the given filepath
Instances
write :: FilePath -> Item () -> IO () Source #
write :: FilePath -> Item ByteString -> IO () Source #
write :: FilePath -> Item Html -> IO () Source #
write :: FilePath -> Item Template -> IO () Source #
write :: FilePath -> Item TmpFile -> IO () Source #
write :: FilePath -> Item CopyFile -> IO () Source #
write :: FilePath -> Item Biblio -> IO () Source #
write :: FilePath -> Item CSL -> IO () Source #
write :: FilePath -> Item [Char] -> IO () Source #
write :: FilePath -> Item [Word8] -> IO () Source #