Safe Haskell | None |
---|
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
getLabelValue :: Label -> Labels a -> aSource
type TextSpecs = Labels (EvenAndOdd TextSpec)Source
getEvenOdd :: EvenOdd -> EvenAndOdd a -> aSource
getEvenOddLabelValue :: Label -> EvenOdd -> Labels (EvenAndOdd a) -> aSource
bottomLineToDrCr :: BottomLine -> EvenOdd -> PreChunkSource
balancesToCmdtys :: EvenOdd -> [(Commodity, BottomLine)] -> [PreChunk]Source
bottomLineToCmdty :: EvenOdd -> (Commodity, BottomLine) -> PreChunkSource
balanceToQtys :: (Commodity -> Qty -> Text) -> EvenOdd -> [(Commodity, BottomLine)] -> [PreChunk]Source
bottomLineToQty :: (Commodity -> Qty -> Text) -> EvenOdd -> (Commodity, BottomLine) -> PreChunkSource