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
getEvenOdd :: EvenOdd -> EvenAndOdd a -> aSource
getEvenOddLabelValue :: Label -> EvenOdd -> Labels (EvenAndOdd a) -> aSource
bottomLineToDrCr :: BottomLine -> EvenOdd -> Changers -> ChunkSource
balancesToCmdtys :: Changers -> EvenOdd -> [(Commodity, BottomLine)] -> [Chunk]Source
bottomLineToCmdty :: Changers -> EvenOdd -> (Commodity, BottomLine) -> ChunkSource
balanceToQtys :: Changers -> (Commodity -> Qty -> Text) -> EvenOdd -> [(Commodity, BottomLine)] -> [Chunk]Source
bottomLineToQty :: Changers -> (Commodity -> Qty -> Text) -> EvenOdd -> (Commodity, BottomLine) -> ChunkSource