hledger-lib-1.40: A library providing the core functionality of hledger
Safe HaskellNone
LanguageHaskell2010

Hledger.Write.Spreadsheet

Description

Rich data type to describe data in a table. This is the basis for ODS and HTML export.

Documentation

data Type Source #

Instances

Instances details
Show Type Source # 
Instance details

Defined in Hledger.Write.Spreadsheet

Methods

showsPrec :: Int -> Type -> ShowS

show :: Type -> String

showList :: [Type] -> ShowS

Eq Type Source # 
Instance details

Defined in Hledger.Write.Spreadsheet

Methods

(==) :: Type -> Type -> Bool

(/=) :: Type -> Type -> Bool

Ord Type Source # 
Instance details

Defined in Hledger.Write.Spreadsheet

Methods

compare :: Type -> Type -> Ordering

(<) :: Type -> Type -> Bool

(<=) :: Type -> Type -> Bool

(>) :: Type -> Type -> Bool

(>=) :: Type -> Type -> Bool

max :: Type -> Type -> Type

min :: Type -> Type -> Type

data Style Source #

Constructors

Body Emphasis 
Head 

Instances

Instances details
Show Style Source # 
Instance details

Defined in Hledger.Write.Spreadsheet

Methods

showsPrec :: Int -> Style -> ShowS

show :: Style -> String

showList :: [Style] -> ShowS

Eq Style Source # 
Instance details

Defined in Hledger.Write.Spreadsheet

Methods

(==) :: Style -> Style -> Bool

(/=) :: Style -> Style -> Bool

Ord Style Source # 
Instance details

Defined in Hledger.Write.Spreadsheet

Methods

compare :: Style -> Style -> Ordering

(<) :: Style -> Style -> Bool

(<=) :: Style -> Style -> Bool

(>) :: Style -> Style -> Bool

(>=) :: Style -> Style -> Bool

max :: Style -> Style -> Style

min :: Style -> Style -> Style

data Emphasis Source #

Constructors

Item 
Total 

Instances

Instances details
Show Emphasis Source # 
Instance details

Defined in Hledger.Write.Spreadsheet

Methods

showsPrec :: Int -> Emphasis -> ShowS

show :: Emphasis -> String

showList :: [Emphasis] -> ShowS

Eq Emphasis Source # 
Instance details

Defined in Hledger.Write.Spreadsheet

Methods

(==) :: Emphasis -> Emphasis -> Bool

(/=) :: Emphasis -> Emphasis -> Bool

Ord Emphasis Source # 
Instance details

Defined in Hledger.Write.Spreadsheet

Methods

compare :: Emphasis -> Emphasis -> Ordering

(<) :: Emphasis -> Emphasis -> Bool

(<=) :: Emphasis -> Emphasis -> Bool

(>) :: Emphasis -> Emphasis -> Bool

(>=) :: Emphasis -> Emphasis -> Bool

max :: Emphasis -> Emphasis -> Emphasis

min :: Emphasis -> Emphasis -> Emphasis

data Cell text Source #

Constructors

Cell 

Fields

Instances

Instances details
Functor Cell Source # 
Instance details

Defined in Hledger.Write.Spreadsheet

Methods

fmap :: (a -> b) -> Cell a -> Cell b

(<$) :: a -> Cell b -> Cell a

defaultCell :: text -> Cell text Source #

emptyCell :: Monoid text => Cell text Source #