Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
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
Whether to show the sign of number
Number base
data Conversion Source #
Supported text conversions
Instances
Eq Conversion Source # | |
Defined in Data.Text.Format.Heavy.Formats (==) :: Conversion -> Conversion -> Bool # (/=) :: Conversion -> Conversion -> Bool # | |
Show Conversion Source # | |
Defined in Data.Text.Format.Heavy.Formats showsPrec :: Int -> Conversion -> ShowS # show :: Conversion -> String # showList :: [Conversion] -> ShowS # |
data GenericFormat Source #
Generic format description. This is usable for integers, floats and strings.
Instances
Eq GenericFormat Source # | |
Defined in Data.Text.Format.Heavy.Formats (==) :: GenericFormat -> GenericFormat -> Bool # (/=) :: GenericFormat -> GenericFormat -> Bool # | |
Show GenericFormat Source # | |
Defined in Data.Text.Format.Heavy.Formats showsPrec :: Int -> GenericFormat -> ShowS # show :: GenericFormat -> String # showList :: [GenericFormat] -> ShowS # | |
Default GenericFormat Source # | |
Defined in Data.Text.Format.Heavy.Formats def :: GenericFormat # | |
IsVarFormat GenericFormat Source # | |
Defined in Data.Text.Format.Heavy.Instances |
data BoolFormat Source #
Instances
Eq BoolFormat Source # | |
Defined in Data.Text.Format.Heavy.Formats (==) :: BoolFormat -> BoolFormat -> Bool # (/=) :: BoolFormat -> BoolFormat -> Bool # | |
Show BoolFormat Source # | |
Defined in Data.Text.Format.Heavy.Formats showsPrec :: Int -> BoolFormat -> ShowS # show :: BoolFormat -> String # showList :: [BoolFormat] -> ShowS # | |
Default BoolFormat Source # | |
Defined in Data.Text.Format.Heavy.Formats def :: BoolFormat # | |
IsVarFormat BoolFormat Source # | |
Defined in Data.Text.Format.Heavy.Instances parseVarFormat :: Text -> Either String BoolFormat Source # |