epub-metadata-5.4: Library for parsing epub document metadata
Safe HaskellSafe-Inferred
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 Source #

Methods

format :: a -> String Source #

Instances

Instances details
Formattable Manifest Source # 
Instance details

Defined in Codec.Epub.Format

Formattable Metadata Source # 
Instance details

Defined in Codec.Epub.Format

Formattable Package Source # 
Instance details

Defined in Codec.Epub.Format

Formattable Spine Source # 
Instance details

Defined in Codec.Epub.Format

Methods

format :: Spine -> String Source #

Formattable [GuideRef] Source # 
Instance details

Defined in Codec.Epub.Format

Methods

format :: [GuideRef] -> String Source #