Hakyll.Core.Writable

hakyll-4.7.5.1: A static website compiler library

Safe Haskell | None
Language | Haskell98

Hakyll.Core.Writable

Description

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

Synopsis

- class Writable a where
  - write :: FilePath -> Item a -> IO ()

# Documentation

class Writable a where

Describes an item that can be saved to the disk

Methods

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

Save an item to the given filepath

Instances

Writable () |
Writable ByteString |
Writable ByteString |
Writable Html |
Writable Template |
Writable TmpFile |
Writable CopyFile |
Writable Biblio |
Writable CSL |
Writable [Char] |
Writable [Word8] |