Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Text.Layout.Table.Spec.LenSpec
Synopsis
- data LenSpec
- = Expand
- | Fixed Int
- | ExpandUntil Int
- | FixedUntil Int
- | ExpandBetween Int Int
- expand :: LenSpec
- fixed :: Int -> LenSpec
- expandUntil :: Int -> LenSpec
- fixedUntil :: Int -> LenSpec
- expandBetween :: Int -> Int -> LenSpec
Documentation
Determines how long a column will be.
Constructors
Expand | |
Fixed Int | |
ExpandUntil Int | |
FixedUntil Int | |
ExpandBetween Int Int |
expandUntil :: Int -> LenSpec Source #
The column will expand as long as it is smaller as the given width.
fixedUntil :: Int -> LenSpec Source #
The column will be at least as wide as the given width.