achille-0.0.0: A library for building static site generators
Safe HaskellNone
LanguageHaskell2010

Achille.Writable

Description

Defines an interface for things that can be written to disk.

Synopsis

Documentation

class Writable m a where Source #

Class for things that can be saved.

Methods

write :: FilePath -> a -> m () Source #

Instances

Instances details
AchilleIO m => Writable m ByteString Source # 
Instance details

Defined in Achille.Writable

Methods

write :: FilePath -> ByteString -> m () Source #

AchilleIO m => Writable m ByteString Source # 
Instance details

Defined in Achille.Writable

Methods

write :: FilePath -> ByteString -> m () Source #

AchilleIO m => Writable m Text Source # 
Instance details

Defined in Achille.Writable

Methods

write :: FilePath -> Text -> m () Source #

AchilleIO m => Writable m Text Source # 
Instance details

Defined in Achille.Writable

Methods

write :: FilePath -> Text -> m () Source #

AchilleIO m => Writable m [Char] Source # 
Instance details

Defined in Achille.Writable

Methods

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