epub-metadata-4.5: Library for parsing epub document metadata

Safe HaskellSafe
LanguageHaskell2010

Codec.Epub.Format

Description

Module for pretty-printing epub meta-information

Defined here is the Formattable typeclass and instances for the top-level epub data structures. The intention is that consumers use the format function on any of these otherwise disparate types.

Documentation

class Formattable a where #

Minimal complete definition

format

Methods

format :: a -> String #

Instances
Formattable Manifest # 
Instance details

Defined in Codec.Epub.Format

Methods

format :: Manifest -> String #

Formattable Metadata # 
Instance details

Defined in Codec.Epub.Format

Methods

format :: Metadata -> String #

Formattable Package # 
Instance details

Defined in Codec.Epub.Format

Methods

format :: Package -> String #

Formattable Spine # 
Instance details

Defined in Codec.Epub.Format

Methods

format :: Spine -> String #

Formattable [GuideRef] # 
Instance details

Defined in Codec.Epub.Format

Methods

format :: [GuideRef] -> String #