Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data CellMod a = CellMod {
- baseCellCM :: a
- leftAdjustmentCM :: Int
- rightAdjustmentCM :: Int
- leftCutMarkLenCM :: Int
- rightCutMarkLenCM :: Int
- padCellLeft :: Int -> a -> CellMod a
- padCellRight :: Int -> a -> CellMod a
- padCell :: Int -> Int -> a -> CellMod a
- trimCell :: Int -> Int -> Int -> Int -> a -> CellMod a
- trimCellLeft :: Int -> Int -> a -> CellMod a
- trimCellRight :: Int -> Int -> a -> CellMod a
- modifyCellWithCutMarkLen :: Int -> Int -> Int -> Int -> a -> CellMod a
- modifyCell :: Int -> Int -> a -> CellMod a
- keepCell :: a -> CellMod a
Documentation
Provide all the information necessary to compare resulting dimensions and
to turn it into a StringBuilder
.
CellMod | |
|
padCellLeft :: Int -> a -> CellMod a Source #
Describe a padding operation on the left side. The padding may not be negative.
padCellRight :: Int -> a -> CellMod a Source #
Describe a padding operation on the right side. The padding may not be negative.
padCell :: Int -> Int -> a -> CellMod a Source #
Describe a padding operation. The padding may not be negative.
trimCell :: Int -> Int -> Int -> Int -> a -> CellMod a Source #
Describe a trim operation. None of the arguments may be negative.
trimCellLeft :: Int -> Int -> a -> CellMod a Source #
Describe a trim operation on the left side. None of the arguments may be negative.
trimCellRight :: Int -> Int -> a -> CellMod a Source #
Describe a trim operation on the right side. None of the arguments may be negative.
modifyCellWithCutMarkLen :: Int -> Int -> Int -> Int -> a -> CellMod a Source #
modifyCell :: Int -> Int -> a -> CellMod a Source #
Given adjustments for the left and the right side, either pad or trim. Negative values will trim, positive values will pad.