Render a floating point number using normal notation, with the given number of decimal places.
Moduleformatting-7.2.0Haskell2010
Formatting.Internal.Raw
Reexports of things that were previously in the text-format package.
- 2 types
- 9 values
- Packageformatting-7.2.0
- Exports11
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceRaw.hs
Render a floating point number using the smallest number of digits that correctly represent it.
Pad the left hand side of a string until it reaches k
characters wide, if necessary filling with character c.
Pad the right hand side of a string until it reaches k
characters wide, if necessary filling with character c.
Render an integer using hexadecimal notation. (No leading "0x" is added.)
The normal mappend function with right associativity instead of left.
Unsafe conversion for decimal digits.
Instances14Bounded, Enum, Eq, Floating, Fractional, Integral, …
Bounded a => Bounded (Shown a)Defined in formatting-7.2.0 · Data.Text.Format.TypesEnum a => Enum (Shown a)Defined in formatting-7.2.0 · Data.Text.Format.TypesEq a => Eq (Shown a)Defined in formatting-7.2.0 · Data.Text.Format.TypesFloating a => Floating (Shown a)Defined in formatting-7.2.0 · Data.Text.Format.TypesFractional a => Fractional (Shown a)Defined in formatting-7.2.0 · Data.Text.Format.TypesIntegral a => Integral (Shown a)Defined in formatting-7.2.0 · Data.Text.Format.TypesNum a => Num (Shown a)Defined in formatting-7.2.0 · Data.Text.Format.TypesOrd a => Ord (Shown a)Defined in formatting-7.2.0 · Data.Text.Format.TypesRead a => Read (Shown a)Defined in formatting-7.2.0 · Data.Text.Format.TypesReal a => Real (Shown a)Defined in formatting-7.2.0 · Data.Text.Format.TypesRealFloat a => RealFloat (Shown a)Defined in formatting-7.2.0 · Data.Text.Format.TypesRealFrac a => RealFrac (Shown a)Defined in formatting-7.2.0 · Data.Text.Format.TypesShow a => Show (Shown a)Defined in formatting-7.2.0 · Data.Text.Format.TypesShow a => Buildable (Shown a)Defined in formatting-7.2.0 · Formatting.Buildable
Render an integral type in hexadecimal.
Constructors
Hex a
Instances9Enum, Eq, Integral, Num, Ord, Read, …
Enum a => Enum (Hex a)Defined in formatting-7.2.0 · Data.Text.Format.TypesEq a => Eq (Hex a)Defined in formatting-7.2.0 · Data.Text.Format.TypesIntegral a => Integral (Hex a)Defined in formatting-7.2.0 · Data.Text.Format.TypesNum a => Num (Hex a)Defined in formatting-7.2.0 · Data.Text.Format.TypesOrd a => Ord (Hex a)Defined in formatting-7.2.0 · Data.Text.Format.TypesRead a => Read (Hex a)Defined in formatting-7.2.0 · Data.Text.Format.TypesReal a => Real (Hex a)Defined in formatting-7.2.0 · Data.Text.Format.TypesShow a => Show (Hex a)Defined in formatting-7.2.0 · Data.Text.Format.TypesIntegral a => Buildable (Hex a)Defined in formatting-7.2.0 · Formatting.Buildable