penny-0.32.0.10: Extensible double-entry accounting system

Safe HaskellNone

Penny.Cabin.Scheme

Description

Cabin color schemes

Each element of a Cabin report identifies what it is--a debit on an even line, a credit on an odd line, etc. The user can have several color schemes; the scheme contains color assignments for 8 and 256 color terminals. This allows the use of different schemes for light and dark terminals or for any other reason.

Documentation

data Label Source

Constructors

Debit 
Credit 
Zero 
Other 

Instances

data EvenOdd Source

Constructors

Even 
Odd 

data Labels a Source

Constructors

Labels 

Fields

debit :: a
 
credit :: a
 
zero :: a
 
other :: a
 

Instances

Show a => Show (Labels a) 

data EvenAndOdd a Source

Constructors

EvenAndOdd 

Fields

eoEven :: a
 
eoOdd :: a
 

Instances

Show a => Show (EvenAndOdd a) 

data Scheme Source

Constructors

Scheme 

Fields

name :: String

The name of this scheme. How it will be identified on the command line.

description :: String

A brief (one-line) description of what this scheme is, such as for dark background terminals

changers :: Changers