| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Data.Text.Format.Heavy.Formats
Description
This module contains format descriptions for most used variable types.
Synopsis
- data Align
- data Sign
- data Radix
- data Conversion
- data GenericFormat = GenericFormat {}
- data BoolFormat = BoolFormat {}
Documentation
Alignment of string within specified width
Constructors
| AlignLeft | |
| AlignRight | |
| AlignCenter |
Whether to show the sign of number
Constructors
| Always | |
| OnlyNegative | |
| SpaceForPositive |
data Conversion Source #
Supported text conversions
Instances
| Eq Conversion Source # | |
Defined in Data.Text.Format.Heavy.Formats | |
| Show Conversion Source # | |
Defined in Data.Text.Format.Heavy.Formats Methods showsPrec :: Int -> Conversion -> ShowS # show :: Conversion -> String # showList :: [Conversion] -> ShowS # | |
data GenericFormat Source #
Generic format description. This is usable for integers, floats and strings.
Constructors
| GenericFormat | |
Instances
| Eq GenericFormat Source # | |
Defined in Data.Text.Format.Heavy.Formats Methods (==) :: GenericFormat -> GenericFormat -> Bool # (/=) :: GenericFormat -> GenericFormat -> Bool # | |
| Show GenericFormat Source # | |
Defined in Data.Text.Format.Heavy.Formats Methods showsPrec :: Int -> GenericFormat -> ShowS # show :: GenericFormat -> String # showList :: [GenericFormat] -> ShowS # | |
| Default GenericFormat Source # | |
Defined in Data.Text.Format.Heavy.Formats Methods def :: GenericFormat # | |
| IsVarFormat GenericFormat Source # | |
Defined in Data.Text.Format.Heavy.Instances Methods parseVarFormat :: Text -> Either String GenericFormat Source # | |
data BoolFormat Source #
Constructors
| BoolFormat | |
Instances
| Eq BoolFormat Source # | |
Defined in Data.Text.Format.Heavy.Formats | |
| Show BoolFormat Source # | |
Defined in Data.Text.Format.Heavy.Formats Methods showsPrec :: Int -> BoolFormat -> ShowS # show :: BoolFormat -> String # showList :: [BoolFormat] -> ShowS # | |
| Default BoolFormat Source # | |
Defined in Data.Text.Format.Heavy.Formats Methods def :: BoolFormat # | |
| IsVarFormat BoolFormat Source # | |
Defined in Data.Text.Format.Heavy.Instances Methods parseVarFormat :: Text -> Either String BoolFormat Source # | |