text-format-heavy-0.1.5.2: Full-weight string formatting library, analog of Python's string.format

Safe HaskellSafe
LanguageHaskell2010

Data.Text.Format.Heavy.Formats

Description

This module contains format descriptions for most used variable types.

Synopsis

Documentation

data Align Source #

Alignment of string within specified width

Instances
Eq Align Source # 
Instance details

Defined in Data.Text.Format.Heavy.Formats

Methods

(==) :: Align -> Align -> Bool #

(/=) :: Align -> Align -> Bool #

Show Align Source # 
Instance details

Defined in Data.Text.Format.Heavy.Formats

Methods

showsPrec :: Int -> Align -> ShowS #

show :: Align -> String #

showList :: [Align] -> ShowS #

data Sign Source #

Whether to show the sign of number

Instances
Eq Sign Source # 
Instance details

Defined in Data.Text.Format.Heavy.Formats

Methods

(==) :: Sign -> Sign -> Bool #

(/=) :: Sign -> Sign -> Bool #

Show Sign Source # 
Instance details

Defined in Data.Text.Format.Heavy.Formats

Methods

showsPrec :: Int -> Sign -> ShowS #

show :: Sign -> String #

showList :: [Sign] -> ShowS #

data Radix Source #

Number base

Constructors

Decimal 
Hexadecimal 
Instances
Eq Radix Source # 
Instance details

Defined in Data.Text.Format.Heavy.Formats

Methods

(==) :: Radix -> Radix -> Bool #

(/=) :: Radix -> Radix -> Bool #

Show Radix Source # 
Instance details

Defined in Data.Text.Format.Heavy.Formats

Methods

showsPrec :: Int -> Radix -> ShowS #

show :: Radix -> String #

showList :: [Radix] -> ShowS #

data Conversion Source #

Supported text conversions

Constructors

UpperCase 
LowerCase 
TitleCase